File: effect-2d-convolution.frag

package info (click to toggle)
glmark2 2023.01%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,380 kB
  • sloc: cpp: 20,680; python: 13,052; ansic: 8,595; java: 1,246; xml: 383; makefile: 42; sh: 39
file content (12 lines) | stat: -rw-r--r-- 156 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
uniform sampler2D Texture0;
varying vec2 TextureCoord;

void main(void)
{
    vec4 result;

    $CONVOLUTION$

    gl_FragColor = vec4(result.xyz, 1.0);
}