Forgot to commit the change in the Cornell box model
This commit is contained in:
parent
dff4befafb
commit
b218f4104e
@ -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);
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user