Rev | Line | |
---|
[363] | 1 | uniform sampler2DRect sceneTexture; |
---|
| 2 | uniform sampler2DRect intensityMapTexture; |
---|
| 3 | varying vec2 texcoord_scene; |
---|
| 4 | varying vec2 texcoord_intensityMap; |
---|
| 5 | |
---|
[392] | 6 | varying vec2 texCoord; |
---|
| 7 | |
---|
[363] | 8 | void main(void) |
---|
| 9 | { |
---|
| 10 | vec4 sceneColor; |
---|
| 11 | vec4 blendColor; |
---|
| 12 | |
---|
[392] | 13 | //sceneColor = texture2DRect(sceneTexture, gl_FragCoord); |
---|
[363] | 14 | blendColor = texture2DRect(intensityMapTexture, gl_FragCoord); |
---|
[392] | 15 | |
---|
| 16 | //gl_FragColor = blendColor * texture2DRect( sceneTexture, texCoord*vec2(1920, 1200)) ; |
---|
| 17 | gl_FragColor = texture2DRect( sceneTexture, texCoord*vec2(1920, 1200)) ; |
---|
[363] | 18 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.