skip to Main Content

Performance Tips

Volumetric Lights uses an extremely optimized ray-marching algorithm to provide “volumetric sense” effect in front of your player. If you need to improve performance, you can try the following options:

  • Reduce Raymarch Quality: reducing this value will indeed reduce the number of texture fetches per pixel.
  • Increase “Min Step Size” value.
  • Decrease “Max Steps” value.
  • If Shadow Occlusion is used, make sure the shadow culling mask only includes objects that you want to cast shadows. By default, shadow culling mask doesn’t include Transparent FX layer as volumetric lights are set to that layer to avoid being rendered again by the occlusion cameras.
  • Use the Downscaling option in the Volumetric Light Renderer Feature to improve overall performance.
  • Disable “Use Blue Noise” option.
  • Reduce the range of the volumetric effect by using the “Use Custom Size” and specifying new range or size
  • Set Shadow Bake Interval to “On Start” whenever possible.
  • Reduce Render Scale in the Universal Rendering Pipeline asset. This will reduce the resolution of the framebuffer, improving the overall performance. This setting is especially useful on mobile devices since they use very high DPI screens and can afford to use a lower resolution.
Back To Top