Changeset 2249 for GTP/trunk/Lib/Illum
- Timestamp:
- 03/13/07 16:43:00 (18 years ago)
- Location:
- GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderTechniques/OgrePathMapRenderTechnique.cpp
r2218 r2249 74 74 st->setTextureAddressingMode(TextureUnitState::TAM_BORDER); 75 75 st->setTextureBorderColour(ColourValue::Blue); 76 77 st = newpass->createTextureUnitState(); 78 st->setTextureFiltering(TFO_BILINEAR); 79 st->setTextureAddressingMode(TextureUnitState::TAM_WRAP); 80 st->setTextureBorderColour(ColourValue::Blue); 81 st->setTextureName(pass->getTextureUnitState(0)->getTextureName()); 76 82 77 newpass->setSceneBlending(SBT_MODULATE); 83 //newpass->setSceneBlending(SBT_MODULATE); 84 newpass->setSceneBlending(SBT_ADD); 78 85 //newpass->setSceneBlending(SBF_ONE, SBF_ZERO); 79 86 newpass->setDepthBias(1); -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderingRuns/OgrePMWeightComputeRenderingRun.cpp
r2218 r2249 90 90 Fparams->setNamedConstant("lightPos", lightPos); 91 91 Fparams->setNamedConstant("lightDir", lightDir); 92 Fparams->setNamedConstant("lightPower", light->getPowerScale()); 92 93 Fparams->setNamedConstant("lightViewProj", SMrun->getLightViewProjMatrix()); 93 94 Fparams->setNamedConstant("lightFarPlane", SMrun->getLightFarPlane());
Note: See TracChangeset
for help on using the changeset viewer.