Ignore:
Timestamp:
11/18/08 16:24:29 (16 years ago)
Author:
mattausch
Message:

fixed antialiasing, but ssao not working at that point (depth)

File:
1 edited

Legend:

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

    r3126 r3136  
    6969        // the normal has to be correctly transformed with the inverse transpose 
    7070        OUT.normal = mul(glstate.matrix.invtrans.modelview[0], IN.normal); 
     71        //OUT.normal = IN.normal; 
    7172 
    7273        return OUT; 
     
    9495        // Transp(Inv(Inv(view))) = Transp(view) 
    9596        pix.norm = mul(transpose(viewMatrix), IN.normal).xyz; 
     97        //pix.norm = IN.normal.xyz; 
    9698        // compute eye linear depth 
    9799        pix.col.w = length(IN.eyePos.xyz); 
     
    115117        // multiply with the inverse transpose of T, we multiple with Transp(Inv(Inv(view))) = Transp(view) 
    116118        pix.norm = mul(transpose(viewMatrix), IN.normal).xyz; 
     119        //pix.norm = IN.normal.xyz; 
    117120        // eye space depth 
    118121        pix.col.w = length(IN.eyePos.xyz); 
Note: See TracChangeset for help on using the changeset viewer.