Ignore:
Timestamp:
12/07/08 23:26:00 (16 years ago)
Author:
mattausch
Message:

made ssao parameters more flexible
started to implement lense flare

File:
1 edited

Legend:

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

    r3210 r3212  
    261261        const bool oldDynamic = (squaredLen > DYNAMIC_OBJECTS_THRESHOLD); 
    262262        const bool newDynamic = (oldPixel.z > DYNAMIC_OBJECTS_THRESHOLD); 
    263  
    264         //const float xOffs = 1.0f / 1024.0f;   const float yOffs = 1.0f / 768.0f; 
    265         //const float eps = 1e-6f; 
    266263 
    267264        // actually 0 means pixel is valid 
     
    334331        pix.color = color; 
    335332        pix.color.xy = pValid.xy; 
     333        pix.color.z = color.w; 
     334 
    336335        pix.normal = normal; 
    337336 
Note: See TracChangeset for help on using the changeset viewer.