source:
experimental/distortionNG/shaderIntensityMap.frag
@
420
Last change on this file since 420 was 398, checked in by , 12 years ago | |
---|---|
File size: 271 bytes |
Rev | Line | |
---|---|---|
[363] | 1 | uniform sampler2DRect sceneTexture; |
2 | uniform sampler2DRect intensityMapTexture; | |
3 | ||
[392] | 4 | varying vec2 texCoord; |
5 | ||
[363] | 6 | void main(void) |
7 | { | |
[396] | 8 | vec4 blendColor = texture2DRect(intensityMapTexture, gl_FragCoord); |
[393] | 9 | gl_FragColor = blendColor * texture2DRect( sceneTexture, texCoord) ; |
[363] | 10 | } |
Note: See TracBrowser
for help on using the repository browser.