ile-de-test/addons/zylann.hterrain/tools/brush/no_blend_rf.gdshader
2023-10-05 20:02:23 +02:00

9 lines
234 B
Text

shader_type canvas_item;
render_mode blend_disabled;
#include "res://addons/zylann.hterrain/shaders/include/heightmap.gdshaderinc"
void fragment() {
float h = sample_heightmap(TEXTURE, UV);
COLOR = encode_height_to_viewport(h);
}