OpenGL2: Add fourth cascade for sun shadows, and adjust sun shadow cvar defaults.

This commit is contained in:
SmileTheory committed 2014-07-31 21:01:57 -07:00
1 parent 7b866ae96d
commit 2b2d696f12
10 files changed
+235 -110

No files matched your search

+1 -1
View File
@@ -484,7 +484,7 @@ void FBO_Init(void)
if (tr.sunShadowDepthImage[0])
{
for ( i = 0; i < 3; i++)
for ( i = 0; i < 4; i++)
{
tr.sunShadowFbo[i] = FBO_Create("_sunshadowmap", tr.sunShadowDepthImage[i]->width, tr.sunShadowDepthImage[i]->height);
FBO_Bind(tr.sunShadowFbo[i]);