ambientLight = new AmbientLight();
ambientLight.setColor(ColorRGBA.Gray);
simpleApp.getRootNode().addLight(ambientLight);
screenshotState = new ScreenshotAppState();
screenshotState.setFilePath("d:/");
sm.attach(screenshotState);
// Initialize voxel world stuff
if (sm.getState(VoxelState.class) != null) {