Ignore:
Timestamp:
11/05/08 10:49:35 (16 years ago)
Author:
mattausch
Message:

detected error on edges of buildings: why doing ssao there?

Location:
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders
Files:
2 edited

Legend:

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

    r3097 r3098  
    7171        float4 col = shade(IN, color, normal, lightDir); 
    7272         
    73         OUT.color = col; 
     73        //OUT.color = col; 
     74        OUT.color.xyz = normal * 0.5f + 0.5f; 
    7475 
    7576        // store scaled view vector so wie don't have to normalize for e.g., ssao 
    7677        OUT.color.w = color.w / length(IN.view); 
    77         //OUT.color.w = color.w; 
    78  
     78         
    7979        return OUT; 
    8080} 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/ssao.cg

    r3097 r3098  
    295295                total_ao += cosAngle * aoContrib * viewCorrection; 
    296296#else 
    297                 total_ao += cosAngle * intensity; 
     297                total_ao += cosAngle * aoContrib; 
    298298#endif 
    299299        } 
Note: See TracChangeset for help on using the changeset viewer.