sharder
Shader code
shader_type spatial;
uniform float height_scale = 0.5;
uniform sampler2D noise;
uniform sampler2D normalmap;
varying vec2 tex_position;
void vertex() {
tex_position = VERTEX.xz / 2.0 + 0.5;
float height = texture(noise, tex_position).x;
VERTEX.y += height * height_scale;
}
void fragment() {
NORMAL_MAP = texture(normalmap, tex_position).xyz;
}


displaced terrain effect using vertex displacement and normal mapping?
Why would you upload a shader without explaining what it does or what it’s for, without even a reference image? Unfortunately, this is becoming more and more common on this page.
I want to know what does this thing do bro I confused as heck to this website sometime