first commit
This commit is contained in:
8
ghostty/shaders/negative.glsl
Normal file
8
ghostty/shaders/negative.glsl
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
void mainImage( out vec4 fragColor, in vec2 fragCoord )
|
||||
{
|
||||
vec2 uv = fragCoord/iResolution.xy;
|
||||
vec4 color = texture(iChannel0, uv);
|
||||
fragColor = vec4(1.0 - color.x, 1.0 - color.y, 1.0 - color.z, color.w);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user