Ignore:
Timestamp:
08/27/08 16:14:10 (16 years ago)
Author:
mattausch
Message:

implemented glob-illum solution

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/SsaoShader.h

    r2873 r2874  
    2222{ 
    2323public: 
    24         /** constructor for a deferred shader taking the requested output image size, 
     24        /** Constructor for a deferred shader taking the requested output image size, 
    2525                the current camera,     and a scaling factor. 
    2626                         
     
    3030        */ 
    3131        SsaoShader(int w, int h, Camera *cam, float scaleFactor); 
    32         /**  
    33          
    34                 The algorithm renders the scene given an fbo consists of 1 color buffer,  
     32        /** The algorithm renders the scene given an fbo consists of 1 color buffer,  
    3533                1 position buffer, and 1 normal buffer. 
    3634                We also need the  projection view matrix of the last frame for reprojection, and 
     
    4644        ~SsaoShader(); 
    4745 
     46        void SetType(bool useGlobIllum, bool useTemporalCoherence); 
     47 
    4848protected: 
    4949 
    50         void ComputeSsao(FrameBufferObject *fbo, float expFactor); 
     50        void ComputeSsao(FrameBufferObject *fbo, float expFactor, const Matrix4x4 &oldProjViewMatrix); 
    5151 
    52         void ComputeGlobIllum(FrameBufferObject *fbo, float expFactor); 
     52        void ComputeGlobIllum(FrameBufferObject *fbo, float expFactor, const Matrix4x4 &oldProjViewMatrix); 
    5353 
    5454        void FirstPass(FrameBufferObject *fbo); 
Note: See TracChangeset for help on using the changeset viewer.