- Timestamp:
- 07/14/08 18:17:50 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/mrt.cg
r2834 r2836 78 78 pix.pos = IN.worldPos * maxDepth; 79 79 pix.norm.xyz = IN.normal * 0.5f + 0.5f; 80 80 81 // hack: squeeze some information about ambient into the texture 81 82 pix.norm.w = ambient.x; 82 83 // hack: store projection coordinate for scaling ssao 83 84 pix.pos.w = IN.projPos.w; 85 86 if (pix.col.w < 0.9f) 87 discard; 88 84 89 pix.col.w = IN.mypos.z / IN.mypos.w; 85 90
Note: See TracChangeset
for help on using the changeset viewer.