aboutsummaryrefslogtreecommitdiff
path: root/Gem/examples/10.glsl/P_distord.frag
blob: 29f3e63f266a67d188019c54228cce9c8c528b6d (plain)
1
2
3
4
5
6
7
8
9
10
// Cyrille Henry 2007

uniform sampler2D tex0;

void main()
{
    vec2 C =  (gl_TextureMatrix[0] * gl_TexCoord[0]).st;
    gl_FragColor = texture2D(tex0, C ) ;
}