From dfc6b2b98755fa583286395c2bf6a08b30bfa56f Mon Sep 17 00:00:00 2001 From: Malfurious Date: Wed, 14 Sep 2022 04:38:20 -0400 Subject: 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 --- character/fps_controller/fps_controller.tscn | 1 + 1 file changed, 1 insertion(+) (limited to 'character') 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 ) -- cgit v1.2.3