Ignore:
Timestamp:
04/12/09 23:24:55 (15 years ago)
Author:
mattausch
Message:

nix geht

File:
1 edited

Legend:

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

    r3340 r3341  
    128128        float w; 
    129129        float idx; 
     130 
    130131 
    131132        ////////////// 
     
    433434 
    434435#endif // PERFORMANCE_TEST 
    435  
    436436        } 
    437437 
     
    487487        const float4 eyeSpacePos = float4(-viewDir * eyeSpaceDepth, 1.0f); 
    488488 
     489 
    489490        //////////////// 
    490491        //-- calculcate the current projected posiion (also used for next frame) 
     
    522523         
    523524        float oldWeight = temporalVals.y; 
    524         float oldIdx = temporalCoherence > 1 ? temporalVals.z : 0; 
     525        float oldIdx = /*temporalCoherence > 1 ? */temporalVals.z/* : 0*/; 
    525526         
    526527#else 
     
    599600 
    600601        OUT.illum_col.y = combinedWeight; 
    601         OUT.illum_col.z = oldIdx + newWeight; // the new index 
     602        OUT.illum_col.z = oldIdx + 8;//newWeight; // the new index 
    602603        OUT.illum_col.w = eyeSpaceDepth; 
    603604 
Note: See TracChangeset for help on using the changeset viewer.