branchrust_reboot/main/spatially_aware_env_volumes_fixescancel

8 Commits over 0 Days - ∞cph!

31 Days Ago
Added a convar for disabling spatially aware environment volumes
31 Days Ago
Merge from main
31 Days Ago
Merge from main
32 Days Ago
Made the environment volumes use their own stencil buffer so they don't interfere with deferred rendering or any other effects that use a stencil buffer
32 Days Ago
Only check if the environment volume transform has changed while in the editor and outside of play mode
32 Days Ago
Caching environment volume transformation matrix and bounds
32 Days Ago
Combined volume properties into a Vector4 to reduce shader property set calls
32 Days Ago
- Added an epsilon amount to the environment volume size used for environment volume stencil rendering to prevent Z-Fighting when they are perfectly aligned with meshes. - Moved the SetRenderTarget call when rendering the environment volumes to outside of the loop that draws them as it only needs to be set once. - Added a square distance check for volumes after frustum culling based on a controllable render distance.