Ignore:
Timestamp:
11/12/08 13:05:11 (16 years ago)
Author:
mattausch
Message:

still problems with noise

File:
1 edited

Legend:

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

    r3120 r3122  
    8686                //sampleNorm = tex2Dlod(normalsTex, offs).xyz; 
    8787 
    88                 w = filterWeights[i] * max(dot(sampleNorm, norm), .0f) * depthFactor; 
     88                w = filterWeights[i] * max(dot(sampleNorm, norm), 1e-3f) * depthFactor; 
    8989 
    9090                average += aoSample.x * w; 
     
    113113        if ((ao.y < 60.0f) && (col.w < 1e10f)) 
    114114        { 
    115                 const static float scaleFactor = 10.0f; 
     115                const static float scaleFactor = 20.0f; 
    116116 
    117117                //ao.x = Filter(IN.texCoord, ssaoTex, filterOffs, filterWeights); 
Note: See TracChangeset for help on using the changeset viewer.