Fixed an issue with where one couldn't have several Shadow renderers in the same scene

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10710 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 12 years ago
parent a457d2d922
commit aa325fc854
  1. 2
      engine/src/core/com/jme3/shadow/AbstractShadowRenderer.java

@ -448,7 +448,7 @@ public abstract class AbstractShadowRenderer implements SceneProcessor, Savable
renderManager.setForcedTechnique(postTechniqueName);
//rendering the post shadow pass
viewPort.getQueue().renderShadowQueue(lightReceivers, renderManager, cam, true);
viewPort.getQueue().renderShadowQueue(lightReceivers, renderManager, cam, flushQueues);
if (flushQueues) {
sceneReceivers.clear();
}

Loading…
Cancel
Save