Changeset 392 for experimental/distortionNG/shaderIntensityMap.frag
- Timestamp:
- Jun 30, 2012, 5:25:38 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/distortionNG/shaderIntensityMap.frag
r363 r392 3 3 varying vec2 texcoord_scene; 4 4 varying vec2 texcoord_intensityMap; 5 6 varying vec2 texCoord; 5 7 6 8 void main(void) … … 9 11 vec4 blendColor; 10 12 11 sceneColor = texture2DRect(sceneTexture, gl_FragCoord);13 //sceneColor = texture2DRect(sceneTexture, gl_FragCoord); 12 14 blendColor = texture2DRect(intensityMapTexture, gl_FragCoord); 13 gl_FragColor = sceneColor * blendColor; 15 16 //gl_FragColor = blendColor * texture2DRect( sceneTexture, texCoord*vec2(1920, 1200)) ; 17 gl_FragColor = texture2DRect( sceneTexture, texCoord*vec2(1920, 1200)) ; 14 18 }
Note: See TracChangeset
for help on using the changeset viewer.