Ignore:
Timestamp:
07/04/08 00:51:25 (16 years ago)
Author:
mattausch
Message:

ssao working ok

File:
1 edited

Legend:

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

    r2811 r2813  
    2626  float4 texCoord: TEXCOORD0;     
    2727 
    28   float4 dummy: WPOS; 
     28  float4 projPos: WPOS; 
    2929  float4 color: COLOR0;   
    3030  float4 worldPos: TEXCOORD1; // world position 
     
    6666  pix.col = tex2D(tex, IN.texCoord.xy); 
    6767  pix.pos = IN.worldPos * maxDepth; 
     68  pix.pos.w = IN.projPos.w; 
    6869  pix.norm = IN.normal; 
    6970 
Note: See TracChangeset for help on using the changeset viewer.