Improving Performance With COZY 3
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
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.
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.
The is more performant and can take a small load off the graphics processing.
These cloud types are lighter and can give you better results by lowering the number of realtime noise calculations done in a frame.
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.
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.
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.
These fog types are lighter and will give you the best results for simple implementation.