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