chore: switched slope texture to noise texture

This commit is contained in:
Sara Gerretsen 2026-04-22 22:23:28 +02:00
parent 3f233a176f
commit 6983e87b97

View file

@ -2,8 +2,7 @@
[ext_resource type="Material" uid="uid://xkuv2ykmgtvy" path="res://assets/style/terrain_outline_material.tres" id="1_3a5j4"]
[ext_resource type="Shader" uid="uid://c60nelvuk52q5" path="res://assets/style/terrain_shader.gdshader" id="1_8t1yb"]
[ext_resource type="Texture2D" uid="uid://mu0p57530drr" path="res://assets/environments/terrain/textures/rock023_alb_ht.png" id="3_2skdn"]
[ext_resource type="Texture2D" uid="uid://d2utst16vo545" path="res://assets/environments/terrain/textures/rock023_nrm_rgh.png" id="4_pkl7k"]
[ext_resource type="FastNoiseLite" uid="uid://xxd1cr8y6ooh" path="res://assets/environments/terrain/textures/rock_texture.tres" id="3_2vqw0"]
[sub_resource type="Gradient" id="Gradient_3a5j4"]
colors = PackedColorArray(0.41641998, 0.47, 0.3807, 1, 0.4736, 0.64, 0.3904, 1)
@ -21,6 +20,18 @@ noise = SubResource("FastNoiseLite_2vqw0")
color_ramp = SubResource("Gradient_3a5j4")
seamless = true
[sub_resource type="Gradient" id="Gradient_2skdn"]
offsets = PackedFloat32Array(0, 0.6968085, 1)
colors = PackedColorArray(0.46229059, 0.46229059, 0.46229059, 1, 0.5923288, 0.5923288, 0.5923287, 1, 0.76518047, 0.5300163, 0.40706056, 1)
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_pkl7k"]
width = 1024
height = 1024
noise = ExtResource("3_2vqw0")
color_ramp = SubResource("Gradient_2skdn")
seamless = true
seamless_blend_skirt = 0.532
[resource]
render_priority = 0
next_pass = ExtResource("1_3a5j4")
@ -41,8 +52,7 @@ shader_parameter/floor_3_metallic = 0.5
shader_parameter/region_blending = 1.0
shader_parameter/slope_threshold = 0.4
shader_parameter/slope_blend_distance = 0.0
shader_parameter/slope_albedo = ExtResource("3_2skdn")
shader_parameter/slope_normal = ExtResource("4_pkl7k")
shader_parameter/slope_albedo = SubResource("NoiseTexture2D_pkl7k")
shader_parameter/slope_tiling = 0.1
shader_parameter/slope_roughness = 0.7
shader_parameter/slope_specular = 0.5