first commit
This commit is contained in:
9
addons/zylann.hterrain/tools/brush/no_blend_rf.gdshader
Executable file
9
addons/zylann.hterrain/tools/brush/no_blend_rf.gdshader
Executable file
@@ -0,0 +1,9 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user