branchrust_reboot/main/spatially_aware_env_volumes_fixescancel

8 Commits over 0 Days - ∞cph!

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