- Timestamp:
- 09/23/08 12:11:29 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/mrt.cg
r2964 r2965 72 72 pixel pix; 73 73 74 //float4 dirtTexColor = tex2D(dirtTex, IN.texCoord.xy);75 74 float4 texColor = tex2D(tex, IN.texCoord.xy); 76 75 77 76 // save color in first render target 78 77 // hack: use comination of emmisive + diffuse (emmisive used as constant ambient term) 79 //pix.col = (glstate.material.emission + glstate.material.diffuse) * texColor * dirtTexColor;80 78 pix.col = (glstate.material.emission + glstate.material.diffuse) * texColor; 81 79
Note: See TracChangeset
for help on using the changeset viewer.