kicad/common/gal/shaders/smaa_pass_1_frag_luma.glsl

8 lines
169 B
GLSL

varying vec2 texcoord;
varying vec4 offset[3];
uniform sampler2D colorTex;
void main()
{
gl_FragColor.xy = SMAALumaEdgeDetectionPS(texcoord, offset, colorTex).xy;
}