Changed depth of shadow map texture to 32
parent
b97070bbad
commit
0bb5f96d7a
|
@ -3386,7 +3386,7 @@ void CEngine::RenderShadowMap()
|
|||
|
||||
FramebufferParams params;
|
||||
params.width = params.height = width;
|
||||
params.depth = depth = 16;
|
||||
params.depth = depth = 32;
|
||||
params.depthTexture = true;
|
||||
|
||||
CFramebuffer *framebuffer = m_device->CreateFramebuffer("shadow", params);
|
||||
|
|
Loading…
Reference in New Issue