aboutsummaryrefslogtreecommitdiff
path: root/packages/noncvs/windows/extra/Gem/examples/10.glsl/interpol.frag
blob: a3c2c08d59be1d6b676c9d19e067b9a572860d61 (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;
}