You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privatevoidsetUpLights() {
LightProbeprobe = (LightProbe) assetManager.loadAsset("Scenes/LightProbes/quarry_Probe.j3o");
probe.setAreaType(LightProbe.AreaType.Spherical);
probe.getArea().setRadius(2000);
probe.getArea().setCenter(newVector3f(0, 0, 0));
rootNode.addLight(probe);
directionalLight = newDirectionalLight();
directionalLight.setDirection((newVector3f(-0.3f, -0.5f, -0.3f)).normalize());
directionalLight.setColor(ColorRGBA.White);
rootNode.addLight(directionalLight);
ambientLight = newAmbientLight();
directionalLight.setColor(ColorRGBA.White); //<- It should be ambientLight.setColor(ColorRGBA.White);rootNode.addLight(ambientLight);
}
The text was updated successfully, but these errors were encountered:
capdevon
changed the title
jme3-examples: PBRTerrainTest- typo in the ambient light color setting
jme3-examples: PBRTerrainTest - typo in the ambient light color setting
Jan 4, 2024
https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-examples/src/main/java/jme3test/terrain/PBRTerrainTest.java#L355
The text was updated successfully, but these errors were encountered: