- Timestamp:
- 03/19/07 16:53:07 (18 years ago)
- Location:
- GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderTechniques
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderTechniques/OgreCausticCasterRenderTechnique.cpp
r2200 r2265 256 256 photonMapResolution = 64; 257 257 causticCubeMapResolution = 128; 258 photonMapMaterialName = "G ameTools/PhotonMapCaustic";259 causticMapMaterialName = "G ameTools/Cau";258 photonMapMaterialName = "GTP/Caustic/PhotonMap_HitEnv"; 259 causticMapMaterialName = "GTP/Caustic/CauCube_PointSprite"; 260 260 photonMapTexID = 0; 261 261 useDistance = true; -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderTechniques/OgreCausticRecieverRenderTechnique.cpp
r2055 r2265 49 49 GpuProgramParameters::ACT_WORLD_MATRIX); 50 50 GpuProgramParameters* Fparams = newpass->getFragmentProgramParameters().getPointer(); 51 Fparams->setNamedConstant("cubeMapCameraPosition", Vector3(0,0,0));51 //Fparams->setNamedConstant("cubeMapCameraPosition", Vector3(0,0,0)); 52 52 53 53 TextureUnitState* st = newpass->createTextureUnitState(); … … 59 59 newpass->setSceneBlending(SBF_DEST_COLOUR, SBF_ONE); 60 60 //newpass->setSceneBlending(SBF_ONE, SBF_ZERO); 61 newpass->setDepthBias( 5);61 newpass->setDepthBias(1); 62 62 //newpass->setSceneBlending(SBT_ADD); 63 63 -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderTechniques/OgreDistanceCubeMapRenderTechnique.cpp
r1956 r2265 105 105 OgreCubeMapRenderTechniqueFactory::resetParams(); 106 106 texID = 1; 107 environmentMaterial = "G ameTools/DistanceShader";108 selfMaterial = "G ameTools/DistanceShader";107 environmentMaterial = "GTP/Basic/Distance"; 108 selfMaterial = "GTP/Basic/Distance"; 109 109 OgreCubeMapRenderTechniqueFactory::parseParams(params); 110 110 parseParams(params);
Note: See TracChangeset
for help on using the changeset viewer.