Ignore:
Timestamp:
11/25/08 18:14:48 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r3161 r3167  
    213213                const float3 samplePos = ReconstructSamplePos(sampleColor.w, texcoord, bl, br, tl, tr); 
    214214                // the normal of the current sample 
    215                 const float3 sampleNormal = normalize(tex2Dlod(normalTex, float4(texcoord, 0, 0)).xyz); 
     215                //const float3 sampleNormal = normalize(tex2Dlod(normalTex, float4(texcoord, 0, 0)).xyz); 
     216                const float3 sampleNormal = tex2Dlod(normalTex, float4(texcoord, 0, 0)).xyz; 
    216217 
    217218 
     
    357358        pixel OUT; 
    358359 
    359         const float3 normal = normalize(tex2Dlod(normals, float4(IN.texCoord, 0 ,0)).xyz); 
     360        //const float3 normal = normalize(tex2Dlod(normals, float4(IN.texCoord, 0 ,0)).xyz); 
     361        const float3 normal = tex2Dlod(normals, float4(IN.texCoord, 0 ,0)).xyz; 
    360362 
    361363        // reconstruct position from the eye space depth 
Note: See TracChangeset for help on using the changeset viewer.