mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Add shadow toggle (F4) and distance-based WMO group culling
Shadow toggle allows disabling shadow pass for performance testing. Distance culling skips WMO groups beyond 200 units. Occlusion queries disabled by default as overhead outweighs benefits in dense scenes.
This commit is contained in:
parent
83ef27c570
commit
ebf349ec7c
5 changed files with 29 additions and 11 deletions
|
|
@ -428,7 +428,7 @@ private:
|
|||
bool frustumCulling = true;
|
||||
bool portalCulling = false; // Disabled by default - needs debugging
|
||||
bool distanceCulling = false; // Disabled - causes ground to disappear
|
||||
bool occlusionCulling = true; // GPU occlusion queries
|
||||
bool occlusionCulling = false; // GPU occlusion queries - disabled, adds overhead
|
||||
float maxGroupDistance = 500.0f;
|
||||
float maxGroupDistanceSq = 250000.0f; // maxGroupDistance^2
|
||||
uint32_t lastDrawCalls = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue