Improved lighting

This commit is contained in:
2024-02-08 21:42:16 +01:00
parent c4a9da0880
commit d36de18b3c
11 changed files with 118 additions and 20 deletions

View File

@ -23,7 +23,9 @@
[ext_resource type="MultiMesh" uid="uid://dog5aq5n2q025" path="res://assets/grass/grass.multimesh" id="19_ae26a"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_he5c5"]
albedo_color = Color(0.0156863, 0.654902, 0.501961, 1)
diffuse_mode = 3
albedo_color = Color(0.0117647, 0.501961, 0.376471, 1)
emission = Color(0.00294706, 0.262987, 0.194557, 1)
[sub_resource type="PlaneMesh" id="PlaneMesh_lb6xk"]
material = SubResource("StandardMaterial3D_he5c5")
@ -93,7 +95,7 @@ autostart = true
[node name="Follow" type="Node3D" parent="World"]
[node name="Pivot" type="Node3D" parent="World/Follow"]
[node name="Pivot" type="Marker3D" parent="World/Follow"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
[node name="Camera" type="Camera3D" parent="World/Follow/Pivot" node_paths=PackedStringArray("follow_node", "pivot_node")]
@ -106,16 +108,16 @@ script = ExtResource("18_wogcj")
follow_node = NodePath("../..")
pivot_node = NodePath("..")
[node name="Sun" type="DirectionalLight3D" parent="World"]
transform = Transform3D(0.984808, 0.122788, -0.122788, 0, 0.707107, 0.707107, 0.173648, -0.696364, 0.696364, 0, 3, 0)
light_energy = 0.1
shadow_enabled = true
script = ExtResource("11_4jb08")
[node name="Environment" type="WorldEnvironment" parent="World"]
environment = ExtResource("12_cscto")
camera_attributes = ExtResource("15_6h2nx")
[node name="Sun" type="DirectionalLight3D" parent="World/Environment"]
transform = Transform3D(-0.350207, 0.827032, -0.439741, 0, 0.469472, 0.882948, 0.936672, 0.309215, -0.164412, 0, 3, 0)
light_energy = 2.0
shadow_enabled = true
script = ExtResource("11_4jb08")
[node name="Trees" type="Node3D" parent="World"]
[node name="Tree" parent="World/Trees" instance=ExtResource("14_7jtdl")]