Improves tree and ground tile appearance
Refactors tree spawning and rendering: - Adds seasonal color variations for trees via scripts. - Introduces `ColorStorage` to manage tree and grass colors - Removes unused code from tree spawning logic. - Adjusts ground tile color for better visual appeal. - Hides debug text on ground tiles.
This commit is contained in:
parent
734730beee
commit
ea5006e8a2
28 changed files with 454 additions and 63 deletions
|
|
@ -1,14 +1,17 @@
|
|||
[gd_resource type="ShaderMaterial" load_steps=3 format=3 uid="uid://b1miqvl8lus75"]
|
||||
[gd_resource type="ShaderMaterial" load_steps=4 format=3 uid="uid://b1miqvl8lus75"]
|
||||
|
||||
[ext_resource type="Shader" uid="uid://dbduq0qcaxmyi" path="res://grass.gdshader" id="1_vnnwo"]
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_vnnwo"]
|
||||
|
||||
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_vnnwo"]
|
||||
noise = SubResource("FastNoiseLite_vnnwo")
|
||||
|
||||
[resource]
|
||||
render_priority = 0
|
||||
shader = ExtResource("1_vnnwo")
|
||||
shader_parameter/top_color = Color(0.102963, 0.465909, 0.382031, 1)
|
||||
shader_parameter/bottom_color = Color(0.121494, 0.374954, 0.315972, 1)
|
||||
shader_parameter/top_color = Color(0.252743, 0.492435, 0.25271, 1)
|
||||
shader_parameter/bottom_color = Color(0.196078, 0.392157, 0.196078, 1)
|
||||
shader_parameter/ambient_occlusion_factor = 0.0
|
||||
shader_parameter/specular_strength = 0.0
|
||||
shader_parameter/player_displacement_strength = 1.0
|
||||
|
|
|
|||
|
|
@ -740,7 +740,7 @@ script = ExtResource("2_sdmks")
|
|||
transform = Transform3D(1, 0, 0, 0, 1, -1.49012e-07, 0, 1.19209e-07, 1, 0.0410548, 0.237644, 3.45114)
|
||||
projection = 1
|
||||
current = true
|
||||
size = 4.0
|
||||
size = 3.0
|
||||
near = 0.005
|
||||
far = 100.0
|
||||
|
||||
|
|
@ -772,7 +772,7 @@ draw_pass_1 = SubResource("QuadMesh_hvb1l")
|
|||
[node name="OmniLight3D" type="OmniLight3D" parent="SubViewportContainer/SubViewport/VFX/Fire"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.000509977, 0.121094, -0.00151992)
|
||||
light_color = Color(0.89, 0.461613, 0.2136, 1)
|
||||
light_energy = 0.668778
|
||||
light_energy = 0.802091
|
||||
light_indirect_energy = 1.084
|
||||
light_volumetric_fog_energy = 3.764
|
||||
light_size = 0.105
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue