mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-18 12:25:07 +08:00
Added LOD manager, improved shadows performance
This commit is contained in:
@@ -720,7 +720,7 @@ namespace CodeWalker.Rendering
|
||||
Shadowmap.BeginDepthRender(context, i);
|
||||
|
||||
float worldtocascade = cascade.WorldUnitsToCascadeUnits * 2.0f;
|
||||
float minrad = cascade.WorldUnitsPerTexel * 3.0f;
|
||||
float minrad = cascade.WorldUnitsPerTexel * 5.0f;
|
||||
|
||||
shadowbatch.Clear();
|
||||
for (int c = 0; c < shadowcasters.Count; c++)
|
||||
|
||||
Reference in New Issue
Block a user