Add modified Fragmented project files
This commit is contained in:
parent
f99f1fbc9b
commit
77ce93fb15
57 changed files with 1696 additions and 0 deletions
8
examples/greyscale.gdshader
Normal file
8
examples/greyscale.gdshader
Normal file
|
@ -0,0 +1,8 @@
|
|||
shader_type canvas_item;
|
||||
|
||||
void fragment() {
|
||||
float v = (COLOR.r + COLOR.g + COLOR.b) / 3.0;
|
||||
COLOR.r = v;
|
||||
COLOR.g = v;
|
||||
COLOR.b = v;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue