Ignore:
Timestamp:
08/27/08 16:14:10 (16 years ago)
Author:
mattausch
Message:

implemented glob-illum solution

File:
1 edited

Legend:

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

    r2873 r2874  
    6363        float3 normal = normalize(norm.xyz);// * 2.0f - float4(1.0f)); 
    6464 
    65         float4 col = shade(IN, color, position, normal.xyz, amb); 
     65        float4 col = shade(IN, color, position, normal, amb); 
    6666         
    6767        //OUT.color = float4(1.0f); 
    6868        OUT.color = col; 
     69        OUT.color.w = color.w; 
    6970 
    7071        return OUT; 
Note: See TracChangeset for help on using the changeset viewer.