Forgot to commit the change in the Cornell box model

cleanup_build_scripts
Nehon 9 years ago
parent dff4befafb
commit b218f4104e
  1. 2
      jme3-examples/src/main/java/jme3test/light/TestPointLightShadows.java
  2. BIN
      jme3-testdata/src/main/resources/Models/Test/CornellBox.j3o

@ -72,7 +72,7 @@ public class TestPointLightShadows extends SimpleApplication implements ActionLi
Node scene = (Node) assetManager.loadModel("Models/Test/CornellBox_1.j3o"); Node scene = (Node) assetManager.loadModel("Models/Test/CornellBox.j3o");
scene.setShadowMode(RenderQueue.ShadowMode.CastAndReceive); scene.setShadowMode(RenderQueue.ShadowMode.CastAndReceive);
rootNode.attachChild(scene); rootNode.attachChild(scene);
rootNode.getChild("Cube").setShadowMode(RenderQueue.ShadowMode.Receive); rootNode.getChild("Cube").setShadowMode(RenderQueue.ShadowMode.Receive);

Loading…
Cancel
Save