source: experimental/distortionNG/shaderIntensityMap.frag @ 393

Last change on this file since 393 was 393, checked in by Torben Dannhauer, 12 years ago

ProjectSyntropy? Distortion works! It a alpha version, some bugs are still not hunted down.

File size: 274 bytes
Line 
1uniform sampler2DRect sceneTexture;
2uniform sampler2DRect intensityMapTexture;
3
4varying vec2 texCoord;
5
6void main(void)
7{
8        vec4 blendColor = texture2DRect(intensityMapTexture, gl_FragCoord);
9       
10        gl_FragColor = blendColor * texture2DRect( sceneTexture, texCoord) ;
11}
Note: See TracBrowser for help on using the repository browser.