branchrust_reboot/main/spatially_aware_env_volumes_fixescancel

8 Commits over 0 Days - ∞cph!

2 Months Ago
Added a convar for disabling spatially aware environment volumes
2 Months Ago
Merge from main
2 Months Ago
Merge from main
2 Months 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
2 Months Ago
Only check if the environment volume transform has changed while in the editor and outside of play mode
2 Months Ago
Caching environment volume transformation matrix and bounds
2 Months Ago
Combined volume properties into a Vector4 to reduce shader property set calls
2 Months 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.