summaryrefslogtreecommitdiffstats
path: root/character
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2022-09-14 04:38:20 -0400
committerMalfurious <m@lfurio.us>2022-09-14 04:53:17 -0400
commitdfc6b2b98755fa583286395c2bf6a08b30bfa56f (patch)
tree070b8459b8ed61af706cbcc72ac2e905da720afc /character
parent38b247487309ca89bf2d94bb321f12059861db9d (diff)
downloadgame_jam49-dfc6b2b98755fa583286395c2bf6a08b30bfa56f.tar.gz
game_jam49-dfc6b2b98755fa583286395c2bf6a08b30bfa56f.zip
Extend water area to 10km x 10km
Horizon LOS in water should be typically around 5km, so extend the dimentions of the water to allow 5km in any direction. With regard to the wave shader, we extend the original MeshInstance to 2000x2000 using a reasonable tradeoff of virtex subdivisions. The remainder of the area is covered by another water plane, subdivided to a much lower level of detail. The area at the center of the large 'outer' water plane is subtracted so that the two do not overlap. Co-authored-by: dusoleil <howcansocksbereal@gmail.com>
Diffstat (limited to 'character')
-rw-r--r--character/fps_controller/fps_controller.tscn1
1 files changed, 1 insertions, 0 deletions
diff --git a/character/fps_controller/fps_controller.tscn b/character/fps_controller/fps_controller.tscn
index c0009d5..d187121 100644
--- a/character/fps_controller/fps_controller.tscn
+++ b/character/fps_controller/fps_controller.tscn
@@ -14,6 +14,7 @@ shape = SubResource( 1 )
[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.796127, 0 )
+far = 5000.0
[node name="RayCast" type="RayCast" parent="Camera"]
cast_to = Vector3( 0, 0, -3 )