OpenGL2: Add fourth cascade for sun shadows, and adjust sun shadow cvar defaults.
This commit is contained in:
1 parent
7b866ae96d
commit
2b2d696f12
10 files changed
+235
-110
No files matched your search
@@ -3313,6 +3313,9 @@ void RE_LoadWorldMap( const char *name ) {
|
||||
tr.toneMinAvgMaxLevel[1] = -2.0f;
|
||||
tr.toneMinAvgMaxLevel[2] = 0.0f;
|
||||
|
||||
// reset last cascade sun direction so last shadow cascade is rerendered
|
||||
VectorClear(tr.lastCascadeSunDirection);
|
||||
|
||||
tr.worldMapLoaded = qtrue;
|
||||
|
||||
// load it
|
||||
|
||||
Reference in new issue
Block a user