Ignore:
Timestamp:
11/25/08 18:58:47 (16 years ago)
Author:
mattausch
Message:

removed bug (second aa output), normsl normalization now during mrt output

File:
1 edited

Legend:

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

    r3167 r3168  
    8080        // weight: 0 = no antialiasing, 1 = full antialiasing 
    8181        const float w = (1.0f - de * ne) * kernel.x; 
    82  
    8382        // smoothed color: the offset is big where discontinuities are 
    8483        // (a - c) * w + c = a * w + c * (1 - w) 
     
    9695        //float4 col = float4(de.x, de.x, de.x, 0); 
    9796        //float4 col = float4(w, w, w, 0); 
    98         //float4 col = float4(centerNormal * 0.5f + float3(0.5f), 0); 
    99         //col = step(.0f, col); 
    100         //float4 col = float4(centerNormal, 0); 
    101  
     97         
    10298        // push through the current depth 
    10399        col.w = centerDepth.x; 
Note: See TracChangeset for help on using the changeset viewer.