shaders folder!
This commit is contained in:
parent
69c28ced8b
commit
f1e7f136f8
30 changed files with 28 additions and 29 deletions
|
@ -1,14 +0,0 @@
|
|||
[gd_resource type="Shader" format=2]
|
||||
|
||||
[resource]
|
||||
code = "// Recolor
|
||||
shader_type canvas_item;
|
||||
|
||||
uniform sampler2D palette : hint_albedo;
|
||||
|
||||
void fragment() {
|
||||
vec4 color = texture(TEXTURE, UV);
|
||||
vec4 result_color = texture(palette, color.rg );
|
||||
result_color.a = color.a;
|
||||
COLOR = result_color;
|
||||
}"
|
Loading…
Add table
Add a link
Reference in a new issue