Ignore:
Timestamp:
06/26/06 09:52:08 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreCausticCasterRenderTechnique.h

    r949 r1055  
    4343                                                        bool updateAllFace, 
    4444                                                        bool useDistance, 
     45                                                        float attenuation, 
    4546                                                        Pass* pass, 
    4647                                                        OgreRenderable* parentRenderable, 
     
    5758        */ 
    5859        String& getCausticCubeMapName(); 
     60        float getAttenuation(){return attenuation;} 
    5961 
    6062protected: 
    61  
     63         
    6264        /** 
    6365                @brief name of the created photon hit map texture 
     
    7274        */ 
    7375        unsigned char photonMapTexID; 
     76        float attenuation; 
    7477         
    7578        //inherited 
    76         virtual void photonMapRunChanged(RenderingRun* run); 
     79        void photonMapRunChanged(RenderingRun* run); 
    7780        //inherited      
    78         virtual void causticCubeMapRunChanged(RenderingRun* run); 
     81        void causticCubeMapRunChanged(RenderingRun* run); 
    7982        //inherited 
    80         virtual void distanceCubeMapRunChanged(RenderingRun* run); 
     83        void distanceCubeMapRunChanged(RenderingRun* run); 
    8184        //inherited 
    8285        void distanceCubeMapRunUpdated(RenderingRun* run); 
    8386        //inherited 
    84         virtual RenderingRun* createPhotonMapRun(); 
     87        RenderingRun* createPhotonMapRun(); 
    8588        //inherited 
    86         virtual RenderingRun* createCausticCubeMapRun(); 
     89        RenderingRun* createCausticCubeMapRun(); 
    8790        //inherited 
    88         virtual RenderingRun* createDistanceCubeMapRun(); 
     91        RenderingRun* createDistanceCubeMapRun(); 
    8992}; 
    9093 
     
    102105 
    103106 
     107        float attenuation; 
    104108        unsigned long startFrame; 
    105109        unsigned long photonMapUpdateInterval; 
Note: See TracChangeset for help on using the changeset viewer.