|
|
@ -97,7 +97,7 @@ public class TestRenderToCubemap extends SimpleApplication { |
|
|
|
offView.setOutputFrameBuffer(offBuffer); |
|
|
|
offView.setOutputFrameBuffer(offBuffer); |
|
|
|
|
|
|
|
|
|
|
|
// setup framebuffer's scene
|
|
|
|
// setup framebuffer's scene
|
|
|
|
Box boxMesh = new Box(Vector3f.ZERO, 1,1,1); |
|
|
|
Box boxMesh = new Box( 1,1,1); |
|
|
|
Material material = assetManager.loadMaterial("Interface/Logo/Logo.j3m"); |
|
|
|
Material material = assetManager.loadMaterial("Interface/Logo/Logo.j3m"); |
|
|
|
offBox = new Geometry("box", boxMesh); |
|
|
|
offBox = new Geometry("box", boxMesh); |
|
|
|
offBox.setMaterial(material); |
|
|
|
offBox.setMaterial(material); |
|
|
|