source: experimental/distortionNG/shaderIntensityMap.frag @ 396

Last change on this file since 396 was 396, checked in by Torben Dannhauer, 12 years ago
File size: 342 bytes
RevLine 
[363]1uniform sampler2DRect sceneTexture;
2uniform sampler2DRect intensityMapTexture;
3
[392]4varying vec2 texCoord;
5
[363]6void main(void)
7{
[396]8        vec4 blendColor = texture2DRect(intensityMapTexture, gl_FragCoord);
9        //vec4 blendColor = texture2DRect(intensityMapTexture, texCoord);
[392]10       
[393]11        gl_FragColor = blendColor * texture2DRect( sceneTexture, texCoord) ;
[363]12}
Note: See TracBrowser for help on using the repository browser.