Ignore:
Timestamp:
08/25/08 20:20:42 (16 years ago)
Author:
mattausch
Message:

bug: downsampling of positions does not work

File:
1 edited

Legend:

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

    r2865 r2866  
    104104                        (SAMPLE_INTENSITY * DISTANCE_SCALE) / (DISTANCE_SCALE + length_to_sample * length_to_sample); 
    105105 
    106                 // if surface normal perpenticular to view dir, the samples count less => compensate for this 
     106                // if surface normal perpenticular to view dir, some samples probably count less  
     107                // => compensate for this 
    107108                float view_correction = 1.0f + VIEW_CORRECTION_SCALE * (1.0f - dot(currentViewDir, currentNormal)); 
    108109 
Note: See TracChangeset for help on using the changeset viewer.