Added water shader
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=25 format=3 uid="uid://b40y7iuskv1ar"]
|
||||
[gd_scene load_steps=26 format=3 uid="uid://b40y7iuskv1ar"]
|
||||
|
||||
[ext_resource type="Script" path="res://Main.gd" id="1_cw3ws"]
|
||||
[ext_resource type="Script" path="res://network/Client.gd" id="2_8hxcx"]
|
||||
@ -18,9 +18,10 @@
|
||||
[ext_resource type="PackedScene" uid="uid://cb2t7bvvf3gwh" path="res://enemy/slime/Slime.tscn" id="15_hgl78"]
|
||||
[ext_resource type="Script" path="res://world/PlayerManager.gd" id="16_dp6bj"]
|
||||
[ext_resource type="PackedScene" uid="uid://dagn5bf7ou3sd" path="res://ui/UI.tscn" id="17_43qhq"]
|
||||
[ext_resource type="Material" uid="uid://bdsblfaxbipaa" path="res://world/grass/grass_material.tres" id="18_tja64"]
|
||||
[ext_resource type="Material" uid="uid://bdsblfaxbipaa" path="res://world/grass/GrassMaterial.tres" id="18_tja64"]
|
||||
[ext_resource type="Script" path="res://camera/Camera.gd" id="18_wogcj"]
|
||||
[ext_resource type="MultiMesh" uid="uid://dog5aq5n2q025" path="res://assets/grass/grass.multimesh" id="19_ae26a"]
|
||||
[ext_resource type="PackedScene" uid="uid://cm0rho6adv2p7" path="res://world/water/Water.tscn" id="20_bmo3k"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_he5c5"]
|
||||
diffuse_mode = 3
|
||||
@ -137,6 +138,11 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.00829, 1.28057, -1.95247)
|
||||
[node name="Slime3" parent="World/Enemies" instance=ExtResource("15_hgl78")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.53558, 1.28057, -0.306177)
|
||||
|
||||
[node name="Grass" type="MultiMeshInstance3D" parent="World"]
|
||||
material_override = ExtResource("18_tja64")
|
||||
cast_shadow = 0
|
||||
multimesh = ExtResource("19_ae26a")
|
||||
|
||||
[node name="Floor" type="MeshInstance3D" parent="World"]
|
||||
mesh = SubResource("PlaneMesh_lb6xk")
|
||||
|
||||
@ -146,10 +152,38 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Floor/StaticBody3D"]
|
||||
shape = SubResource("BoxShape3D_yg2lt")
|
||||
|
||||
[node name="Grass" type="MultiMeshInstance3D" parent="World"]
|
||||
material_override = ExtResource("18_tja64")
|
||||
cast_shadow = 0
|
||||
multimesh = ExtResource("19_ae26a")
|
||||
[node name="Ocean" type="Node3D" parent="World"]
|
||||
|
||||
[node name="Water" parent="World/Ocean" instance=ExtResource("20_bmo3k")]
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="Water2" parent="World/Ocean" instance=ExtResource("20_bmo3k")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 25, 0, 25)
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="Water3" parent="World/Ocean" instance=ExtResource("20_bmo3k")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 25)
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="Water4" parent="World/Ocean" instance=ExtResource("20_bmo3k")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -25, 0, 25)
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="Water5" parent="World/Ocean" instance=ExtResource("20_bmo3k")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -25, 0, 0)
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="Water6" parent="World/Ocean" instance=ExtResource("20_bmo3k")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -25, 0, -25)
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="Water7" parent="World/Ocean" instance=ExtResource("20_bmo3k")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -25)
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="Water8" parent="World/Ocean" instance=ExtResource("20_bmo3k")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 25, 0, -25)
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="Players" type="Node3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
|
Reference in New Issue
Block a user