Add modified Fragmented project files
This commit is contained in:
parent
f99f1fbc9b
commit
77ce93fb15
57 changed files with 1696 additions and 0 deletions
9
examples/lowpass.gdshader
Normal file
9
examples/lowpass.gdshader
Normal file
|
@ -0,0 +1,9 @@
|
|||
shader_type canvas_item;
|
||||
|
||||
const float threshold = 0.6;
|
||||
|
||||
void fragment() {
|
||||
vec4 tex = texture(TEXTURE , UV);
|
||||
COLOR.rgb = min(tex.rgb, vec3(threshold));
|
||||
COLOR.a = tex.a;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue