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/RenderingRuns/OgreCausticCubeMapRenderingRun.h

    r790 r1055  
    4040                                                                 String materialName, 
    4141                                                                 unsigned char photonMapTexId, 
    42                                                                  bool updateAllFace 
     42                                                                 bool updateAllFace, 
     43                                                                 float attenuation 
    4344                                                                 ); 
    4445        /** 
     
    4950        //inherited 
    5051        void photonMapChanged(RenderingRun* run); 
     52        float getAttenuation(){return attenuation;} 
    5153         
     54        bool canJoin(OgreRenderingRun* run) 
     55        { 
     56                OgreCausticCubeMapRenderingRun* r = (OgreCausticCubeMapRenderingRun*) run; 
     57                if(r->materialName == materialName) 
     58                        return true; 
     59                return false; 
     60        } 
     61 
    5262protected: 
    5363        /** 
     
    7181        */ 
    7282        String materialName; 
     83        float attenuation; 
    7384         
    7485        //inherited 
Note: See TracChangeset for help on using the changeset viewer.