Ignore:
Timestamp:
07/11/08 01:12:05 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/mrt.cg

    r2822 r2833  
    9191  pix.col = diffuse; 
    9292  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); 
    9494  // hack: squeeze some information about ambient into the texture 
    9595  pix.norm.w = ambient.x; 
Note: See TracChangeset for help on using the changeset viewer.