Textures and materials are the files and settings you use to define the surfaces of an object. Textures are the files that define the detail, texture, and color of an effect while materials are the settings to control the reflectivity and opacity of a texture.
A texture is a JPEG or PNG file that is used to define the visual appearance of an object in an effect. One or more textures are combined into materials, and materials are applied to objects in the scene.
Image files may be a maximum of 1024x1024 pixels in size. For reasons of memory optimization, upon export images will be resized (though not scaled) to a square with edge length equal to the smallest power of 2 larger than the larger dimension of the texture, for example:
For animated textures, use a sprite sheet that contains all of the frames of the animation.
A material defines the optical properties of the associated texture. A texture can appear opaque or reflective depending on the settings of the applied material. You can set the shader properties of a material to diffuse, reflect, or multiply the colors in the a texture. You can also set the Blend mode, Cull mode, and Opacity of a Material in the Render options.
Because the opacity of a material affects the underlying layers, you should test your materials and textures on a variety of skin tones to ensure that you get the intended effect. AR Studio contains several videos so you can test how your effect works on different skin tones.
The size of the textures influences the quality and performance of your effect. and materials you use affects the performance of your effect. A high quality texture file gives your effect a lot of detail. However, this high quality file can slow the performance of your effect by using a lot of memory.
To use high quality texture files while maintaining the performance of your effect, you can reduce the size of your texture files. If you are using the smallest texture files, you can compress the texture files when you export your effect prior to submission. You can also compress the texture files using the compression schemes in AR Studio. You can select the following compression schemes:
Uncompressed - textures are exported without any compression. Using this option results in large memory use.
ETC — textures are compressed for use in Android devices. The following options are available for this compression scheme:
PVR — textures are compressed for use in iOS devices. The following options are available for this compression scheme:
In addition to selecting the compression scheme for all textures in an effect, you can override this general compression scheme by setting the compression scheme for each texture. Setting the compression scheme for a texture allows you to further compress or use less compression on that texture.
This procedure overrides the export settings for all textures so that you can specify the compression scheme for that texture.
Test your compression settings on different devices and skin tones in the Editor to ensure that you are making the best decision between quality and performance.