Changeset 3140 for GTP


Ignore:
Timestamp:
11/18/08 17:52:10 (16 years ago)
Author:
mattausch
Message:

would take this if it were faster

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

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/DeferredRenderer.cpp

    r3137 r3140  
    461461                float y = ssaoFilterOffsets[2 * i + 1]; 
    462462 
    463                 //ssaoFilterWeights[i] = GaussianDistribution(x, y, 1.0f); 
    464                 ssaoFilterWeights[i] = 1.0f; 
     463                ssaoFilterWeights[i] = GaussianDistribution(x, y, 1.0f); 
     464                //ssaoFilterWeights[i] = 1.0f; 
    465465 
    466466                ssaoFilterOffsets[2 * i + 0] *= xoffs; 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/combineSsao.cg

    r3137 r3140  
    186186                //ao.x = DiscontinuityFilter(IN.texCoord, ao, ssaoTex, normalsTex, filterOffs, filterWeights, adaptFactor * scaleFactor  / (adaptFactor + ao.y), 0); 
    187187 
     188                //if (ao.y < 50.5f) ao.x = DiscontinuityFilter(IN.texCoord, ao, col, ssaoTex, normalsTex, colorsTex, filterOffs, filterWeights, adaptFactor * scaleFactor * ao.z  / (adaptFactor + ao.y), bl, br, tl, tr); 
    188189                if (ao.y < 50.5f) ao.x = DiscontinuityFilter(IN.texCoord, ao, col, ssaoTex, normalsTex, colorsTex, filterOffs, filterWeights, ao.z, bl, br, tl, tr); 
    189190                //ao.x = DiscontinuityFilter(IN.texCoord, ao, ssaoTex, normalsTex, filterOffs, filterWeights, 1, 0); 
Note: See TracChangeset for help on using the changeset viewer.