This is the 26th day of my participation in the August More Text Challenge
Spark AR is Facebook’s free AR creation platform that enables users to create interactive AR experiences for Facebook and Instagram. More than 400,000 creators in 190 countries have used Spark AR to create their own AR creations
Since the software requires no coding knowledge to use, anyone can now lead the world by creating the next crazy viral Instagram AR effects with little experience in the AR world.
Specialized AR filter designers can cost anywhere from $1,000 to $30,000.
Reduce and optimize scene objects
These are the objects listed in the scene TAB
Check the number of objects in your scene
Don’t add more than 50 objects to your scene.
This number refers to the objects listed in the scene TAB. It includes everything listed, such as empty objects, lights, and text. It also includes a grid of faces.
This number does not include assets such as textures and materials listed in the Assets panel.
The more complex your 3D model, the fewer objects you should include. It is better to include a few high quality objects in a scene than to add a large number of low quality objects.
Optimized particle system
First try to reduce the lifetime of the particle. In particular, make sure the particles don’t extend beyond the range of the camera’s view. You can check this out by comparing what is visible in the viewport with what is visible in Spark AR Studio’s emulator.
You can also:
- Reduce the generation rate.
- Use 2 particle systems, placed in the same location, instead of 1 particle system with high production rate.
Reduce the effects of light
Use multiple light sources
The more light sources in the scene, the greater the impact on performance.
Some light sources have a greater effect on the appearance of the effect than others. Below, we list each light source in Spark AR Studio from top to bottom, from small to large:
- The ambient light
- Directional light
- A point source
- The spotlight
- The ambient light
Removes the light source from the 2D effect
It’s a good idea to automatically remove ambient light from your project if possible. For example, if you are creating the effect of a 2D object, there is no need for realistic lighting.
Patch node links and scripts
If the Patch node is used to link
- Patch grouping can improve performance.
- You should also avoid repeating logic — for example, evaluating the same value multiple times.
If you use a script
Where possible:
- Avoid subscription.
- Casts a variable to a const type.
- Avoid scripts that have a lot of callbacks and functions in each frame.