aboutsummaryrefslogtreecommitdiff
path: root/packages/noncvs/windows/extra/Gem/examples/10.glsl/interpol.frag
blob: 66a4310ce63c72021e7cdd1bbf9485b38d0f15d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Cyrille Henry 2008
#extension GL_ARB_texture_rectangle : enable

uniform sampler2DRect texture_mass;
uniform float init;

void main (void)
{
	vec2 coord = gl_TexCoord[0].st/2.;
	vec4 pos = texture2DRect(texture_mass, coord);

	gl_FragColor = pos;
}