From 73de0506286124194abef2bebf35ffc1ce3d2cc7 Mon Sep 17 00:00:00 2001 From: kayomn Date: Mon, 16 Jan 2023 23:48:56 +0000 Subject: [PATCH] Adjust scale of noise UV for terrain shading --- terrain/terrain_shader.gdshader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terrain/terrain_shader.gdshader b/terrain/terrain_shader.gdshader index 2af40b6..796de7b 100644 --- a/terrain/terrain_shader.gdshader +++ b/terrain/terrain_shader.gdshader @@ -24,7 +24,7 @@ uniform sampler2D TERRAIN_MAP : hint_default_transparent, repeat_disable; void fragment() { vec2 uv = UV * (SIZE / 2.0); - vec2 uv_alt = uv * -0.25; + vec2 uv_alt = uv * -0.5; vec3 splat_map = texture(TERRAIN_MAP, UV).rgb; float blank = clamp(1.0 - splat_map.r - splat_map.g - splat_map.b, 0.0, 1.0);