mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-18 10:33:58 +08:00
LOD manager performance improvements
This commit is contained in:
@@ -688,7 +688,7 @@ namespace CodeWalker.Rendering
|
||||
context.OutputMerger.DepthStencilState = dsEnabled;
|
||||
context.Rasterizer.State = rsSolid;
|
||||
|
||||
float maxdist = 3000.0f;// cascade.IntervalFar * 5.0f;
|
||||
float maxdist = Shadowmap.maxShadowDistance;// 3000.0f;// cascade.IntervalFar * 5.0f;
|
||||
|
||||
//find the casters within range
|
||||
shadowcasters.Clear();
|
||||
|
||||
Reference in New Issue
Block a user