Added local skybox texture, and changed water color

- Changed water color to a more sea-like blue
- Added an extra sun
- Moved skybox texture to the resources folder
This commit is contained in:
Michael Rausch
2017-09-25 19:19:46 +13:00
parent 9ca39d1a7c
commit 5d32d76d9d
3 changed files with 88 additions and 26 deletions
@@ -117,8 +117,7 @@ public class GameView3D {
view.setCamera(camera);
camera.getTransforms().add(new Rotate(30, new Point3D(1,0,0)));
//TDBC: Fix
skybox = new Skybox(new Image("https://i.pinimg.com/originals/3a/24/14/3a24142dce7b271799b6501fabc4ee19.jpg"), 100000, camera);
skybox = new Skybox(new Image(getClass().getResourceAsStream("/images/skybox.jpg")), 100000, camera);
skybox.getTransforms().addAll(new Rotate(90, Rotate.X_AXIS));
Model land = ModelFactory.importModel(ModelType.LAND);
Binary file not shown.

After

Width:  |  Height:  |  Size: 866 KiB

File diff suppressed because one or more lines are too long