|
@@ -1,7 +1,7 @@
|
|
package jme3test.terrain;
|
|
package jme3test.terrain;
|
|
|
|
|
|
/*
|
|
/*
|
|
- * Copyright (c) 2009-2021 jMonkeyEngine
|
|
|
|
|
|
+ * Copyright (c) 2009-2024 jMonkeyEngine
|
|
* All rights reserved.
|
|
* All rights reserved.
|
|
*
|
|
*
|
|
* Redistribution and use in source and binary forms, with or without
|
|
* Redistribution and use in source and binary forms, with or without
|
|
@@ -352,7 +352,7 @@ public class PBRTerrainTest extends SimpleApplication {
|
|
rootNode.addLight(directionalLight);
|
|
rootNode.addLight(directionalLight);
|
|
|
|
|
|
ambientLight = new AmbientLight();
|
|
ambientLight = new AmbientLight();
|
|
- directionalLight.setColor(ColorRGBA.White);
|
|
|
|
|
|
+ ambientLight.setColor(ColorRGBA.White);
|
|
rootNode.addLight(ambientLight);
|
|
rootNode.addLight(ambientLight);
|
|
}
|
|
}
|
|
|
|
|