We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-examples/src/main/java/jme3test/terrain/PBRTerrainAdvancedTest.java#L447
private void setUpLights() { LightProbe probe = (LightProbe) assetManager.loadAsset("Scenes/LightProbes/quarry_Probe.j3o"); probe.setAreaType(LightProbe.AreaType.Spherical); probe.getArea().setRadius(2000); probe.getArea().setCenter(new Vector3f(0, 0, 0)); rootNode.addLight(probe); directionalLight = new DirectionalLight(); directionalLight.setDirection((new Vector3f(-0.3f, -0.5f, -0.3f)).normalize()); directionalLight.setColor(ColorRGBA.White); rootNode.addLight(directionalLight); ambientLight = new AmbientLight(); directionalLight.setColor(ColorRGBA.White); //<- It should be ambientLight.setColor(ColorRGBA.White); rootNode.addLight(ambientLight); }
The text was updated successfully, but these errors were encountered:
solve issue #2177 (PBRTerrainAdvancedTest typo)
c809f6c
solve issue #2177 (PBRTerrainAdvancedTest typo) (#2180)
1b632a4
stephengold
Successfully merging a pull request may close this issue.
https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-examples/src/main/java/jme3test/terrain/PBRTerrainAdvancedTest.java#L447
The text was updated successfully, but these errors were encountered: