mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
6 lines
147 B
GLSL
6 lines
147 B
GLSL
vec4 effect() {
|
|
vec4 color = texture(u_screen, v_uv);
|
|
color = mix(color, 1.0 - color, u_intensity);
|
|
color.a = 1.0;
|
|
return color;
|
|
}
|