- Timestamp:
- 07/11/08 01:12:05 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/mrt.cg
r2822 r2833 91 91 pix.col = diffuse; 92 92 pix.pos = IN.worldPos * maxDepth; 93 pix.norm.xyz = IN.normal * 0.5f + 0.5f;93 pix.norm.xyz = IN.normal * 0.5f + float4(0.5f); 94 94 // hack: squeeze some information about ambient into the texture 95 95 pix.norm.w = ambient.x;
Note: See TracChangeset
for help on using the changeset viewer.