This guide covers a range to ways to improve the performance of your effect. It also outlines technical guidelines for imported objects and textures.
The highest impact changes you can make are to reduce the number of capabilities in your project, reduce the size of 3D objects and optimize your use of textures.
These are the maximum limits for object count, texture resolution, triangle count and height for 3D objects. You should follow these limits below, as well as the optimization guidelines on this page, to strike a balance between quality and performance.
We recommended adding no more than 50 objects to a scene.
The maximum resolution for a texture is 1024 px x 1024 px. Any textures you add to a project that are larger than this will be automatically resized.
When importing 3D objects, please note that:
Capabilities and features, for example face tracking and audio, are added automatically to your project as you build an effect. The more capabilities you add, the higher the impact on performance.
To check which capabilities are in your project:
Find out more about reducing the impact 3D objects have on the performance of your effect.
As well as the suggestions on this page, experimenting with different compression settings can have a big impact on the performance of your effect. Find out more about compression in Spark AR Studio.