LOD manager performance improvements

This commit is contained in:
dexy
2019-12-08 18:40:09 +11:00
Unverified
parent 6c76726131
commit b187ad919b
4 changed files with 135 additions and 82 deletions
+1 -1
View File
@@ -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();