diff options
author | Gone2Daly <71726742+Gone2Daly@users.noreply.github.com> | 2023-07-22 21:05:42 +0200 |
---|---|---|
committer | Gone2Daly <71726742+Gone2Daly@users.noreply.github.com> | 2023-07-22 21:05:42 +0200 |
commit | 71b3cd829f80de4c2cd3972d8bfd5ee470a5d180 (patch) | |
tree | b4280fde6eef2ae6987648bc7bf8e00e9011bb7f /game/addons/zylann.hterrain/tools/texture_editor/display_alpha.gdshader | |
parent | ce9022d0df74d6c33db3686622be2050d873ab0b (diff) |
init_testtest3d
Diffstat (limited to 'game/addons/zylann.hterrain/tools/texture_editor/display_alpha.gdshader')
-rw-r--r-- | game/addons/zylann.hterrain/tools/texture_editor/display_alpha.gdshader | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/game/addons/zylann.hterrain/tools/texture_editor/display_alpha.gdshader b/game/addons/zylann.hterrain/tools/texture_editor/display_alpha.gdshader new file mode 100644 index 0000000..7ac1b98 --- /dev/null +++ b/game/addons/zylann.hterrain/tools/texture_editor/display_alpha.gdshader @@ -0,0 +1,6 @@ +shader_type canvas_item; + +void fragment() { + float a = texture(TEXTURE, UV).a; + COLOR = vec4(a, a, a, 1.0); +} |