mirror of
https://github.com/marinho/godot-visual-effects.git
synced 2025-09-19 04:06:15 +08:00
Initial commit
This commit is contained in:
9
test2.gdshader
Normal file
9
test2.gdshader
Normal file
@ -0,0 +1,9 @@
|
||||
shader_type spatial;
|
||||
|
||||
uniform sampler2D screen_texture : hint_screen_texture, repeat_disable, filter_nearest;
|
||||
|
||||
void fragment() {
|
||||
vec4 currentColor = textureLod(screen_texture, SCREEN_UV, 0.0);
|
||||
ALBEDO = vec3(currentColor.r, currentColor.g * 10.0, currentColor.b);
|
||||
ALPHA = 1.;
|
||||
}
|
Reference in New Issue
Block a user