Draw distance slider (#44)
Helps render performance on integrated GPUs. Added render culling for baked compounds.
This commit is contained in:
parent
655799893a
commit
1bec63c9ee
11 changed files with 200 additions and 8 deletions
|
|
@ -571,6 +571,7 @@ public:
|
|||
MakeDebugDraw( &debugDraw );
|
||||
ApplyGuiFlags( &debugDraw );
|
||||
debugDraw.drawingBounds = m_camera->DrawBounds(); // view-distance box in length units around the eye
|
||||
SetViewBounds( debugDraw.drawingBounds );
|
||||
|
||||
// Drive the shared outline highlight from the selection. A shape selection outlines that
|
||||
// shape alone, a body selection outlines the whole body. Set before the draw so the mask
|
||||
|
|
|
|||
Loading…
Reference in a new issue