Explorar el Código

Refactor: Reducing default shadow map atlas size to 4096 as it seems more reasonable

BearishSun hace 8 años
padre
commit
577c544529
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Source/RenderBeast/BsShadowRendering.cpp

+ 1 - 1
Source/RenderBeast/BsShadowRendering.cpp

@@ -625,7 +625,7 @@ namespace bs { namespace ct
 		mutable ShadowDepthDirectionalMat* material = nullptr;
 	};
 
-	const UINT32 ShadowRendering::MAX_ATLAS_SIZE = 8192;
+	const UINT32 ShadowRendering::MAX_ATLAS_SIZE = 4096;
 	const UINT32 ShadowRendering::MAX_UNUSED_FRAMES = 60;
 	const UINT32 ShadowRendering::MIN_SHADOW_MAP_SIZE = 32;
 	const UINT32 ShadowRendering::SHADOW_MAP_FADE_SIZE = 64;