Ignore:
Timestamp:
06/05/07 02:00:52 (17 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderTechniques/OgrePathMapRenderTechnique.cpp

    r2397 r2406  
    5252        GpuProgramParameters* Fparams = passToSet->getFragmentProgramParameters().getPointer(); 
    5353         
    54         int prmxres = clusters->pathMapResolution * clusters->count; 
    55         int prmyres = clusters->pathMapResolution; 
     54        int prmxres = this->clusters->pathMapResolution * this->clusters->count; 
     55        int prmyres = this->clusters->pathMapResolution; 
    5656        while(prmxres > 4096) 
    5757        { 
     
    5959                prmyres *= 2;            
    6060        } 
    61         int prmnt[2] = {prmxres / clusters->pathMapResolution, prmyres / clusters->pathMapResolution}; 
     61        int prmnt[2] = {prmxres / this->clusters->pathMapResolution, prmyres / this->clusters->pathMapResolution}; 
    6262 
    6363        float halfPixel[2] = {0.5 / prmxres, 0.5 / prmyres}; 
     
    8080                st1 = passToSet->createTextureUnitState();               
    8181                st1->setTextureFiltering(TFO_BILINEAR); 
    82                 st1->setTextureAddressingMode(TextureUnitState::TAM_CLAMP); 
     82                st1->setTextureAddressingMode(TextureUnitState::TAM_BORDER); 
    8383                st1->setTextureBorderColour(ColourValue::Green); 
    8484 
Note: See TracChangeset for help on using the changeset viewer.