Improving Performance With COZY 3
CPU Improvements
Choose Modules Wisely
COZY is built on a modular architecture that gives you the ability to pick and choose the exact features that run every frame. Some modules are heavier than others due to expensive processing and can be removed if you want better performance.
Reflections Module
The reflections module renders the COZY sphere to a cubemap every 10 frames (adjustable). This operation is expensive and may not be wise on lower end devices.
Interactions Module
Depending on the number of materials that are being changed every frame this module can become heavy. Really on global shader variables where possible and create variation in your shader to take load off of the CPU.
GPU Improvements
Set the Sky Style to Mobile
The mobile sky style is more performant and can take a small load off the graphics processing.
Set the Cloud Style to a Lighter Version
These cloud types are lighter and can give you better results by lowering the number of realtime noise calculations done in a frame.
COZY Mobile Clouds
The COZY Mobile Clouds keep the default COZY aesthetic while reducing the number of functions leading to faster clouds. These are the lightest fully dynamic clouds that come with COZY.
Single Texture Clouds
The Single Texture Clouds are the lightest clouds in the COZY ecosystem however they are not dynamic at all and cannot be smoothly interpolated. use this cloud type if you need the highest performance and don't want to change the weather much.
Luxury Clouds
The Luxury Clouds type is a perfect mixture between the performance of static texture based clouds and the dynamic interpolation of COZY clouds. These are more performant than COZY Mobile Clouds but less performant than Single Texture Clouds.
Set the Fog Style to Unity or Stylized
These fog types are lighter and will give you the best results for simple implementation.
Last updated