Add project files
This commit is contained in:
parent
88517179f0
commit
68cccc2a62
17 changed files with 551 additions and 1 deletions
10
src/presets/shaders/greyscale.gdshader
Normal file
10
src/presets/shaders/greyscale.gdshader
Normal file
|
@ -0,0 +1,10 @@
|
|||
shader_type canvas_item;
|
||||
|
||||
void fragment() {
|
||||
// TODO: not only r
|
||||
vec4 tex = texture(TEXTURE , UV);
|
||||
COLOR.r = tex.r;
|
||||
COLOR.g = tex.r;
|
||||
COLOR.b = tex.r;
|
||||
COLOR.a = tex.a;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue