Ignore:
Timestamp:
11/09/08 13:34:36 (16 years ago)
Author:
mattausch
Message:

worked on dynamic objects indexing not working yet

File:
1 edited

Legend:

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

    r3110 r3111  
    253253mSamplingMethod(SAMPLING_POISSON), 
    254254mShadingMethod(DEFAULT), 
    255 mIllumFboIndex(0) 
     255mIllumFboIndex(0), 
     256invTrafo(IdentityMatrix()) 
    256257{ 
    257258        /////////// 
     
    337338        string ssaoParams[] =  
    338339                {"colors", "normals", "oldTex", "noiseTex", "temporalCoherence",  
    339                  "samples", "bl", "br", "tl", "tr", "modelViewProj", "oldModelViewProj", 
    340                  "oldEyePos", "oldbl", "oldbr", "oldtl", "oldtr", "attribsTex", "inverseModelTrafo"}; 
     340                 "samples", "bl", "br", "tl", "tr",  
     341                 "modelViewProj", "oldModelViewProj", "oldEyePos", "oldbl", "oldbr",  
     342                 "oldtl", "oldtr", "attribsTex", "inverseModelTrafo"}; 
    341343        sCgSsaoProgram->AddParameters(ssaoParams, 0, 19); 
    342344         
    343345        string giParams[] =  
    344346                {"colors", "normals", "noiseTex", "oldSsaoTex", "oldIllumTex",  
    345                  "temporalCoherence", "samples", "bl", "br", "tl", "tr", "oldModelViewProj", "modelViewProj"}; 
     347                 "temporalCoherence", "samples", "bl", "br", "tl",  
     348                 "tr", "oldModelViewProj", "modelViewProj"}; 
    346349        sCgGiProgram->AddParameters(giParams, 0, 13); 
    347350 
     
    562565        sCgSsaoProgram->SetTexture(i ++, attribsTex); 
    563566 
    564         sCgSsaoProgram->SetMatrix(i ++, IdentityMatrix()); 
     567        sCgSsaoProgram->SetMatrix(i ++, invTrafo); 
     568        //sCgSsaoProgram->SetMatrix(i ++, IdentityMatrix()); 
    565569 
    566570        DrawQuad(sCgSsaoProgram); 
Note: See TracChangeset for help on using the changeset viewer.