|
|
|
@ -424,7 +424,7 @@ public abstract class AbstractShadowRenderer implements SceneProcessor, Savable |
|
|
|
|
renderManager.setCamera(shadowCam, false); |
|
|
|
|
|
|
|
|
|
renderManager.getRenderer().setFrameBuffer(shadowFB[shadowMapIndex]); |
|
|
|
|
renderManager.getRenderer().clearBuffers(false, true, false); |
|
|
|
|
renderManager.getRenderer().clearBuffers(true, true, true); |
|
|
|
|
|
|
|
|
|
// render shadow casters to shadow map
|
|
|
|
|
viewPort.getQueue().renderShadowQueue(shadowMapOccluders, renderManager, shadowCam, true); |
|
|
|
|