- Timestamp:
- 05/12/07 14:21:03 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/RenderingRuns/OgreDepthShadowMapRenderingRun.cpp
r2363 r2366 96 96 void OgreDepthShadowMapRenderingRun::updateDepthCubeFace(int facenum) 97 97 { 98 String triggerName = "ILLUM_TRIGGER_SM_POINT"; 99 98 100 Vector3 lightpos = light->getDerivedPosition(); 99 101 … … 103 105 cam->setFarClipDistance(lightFarPlane); 104 106 105 setMaterialForVisibles(materialName, cam, false);107 setMaterialForVisibles(materialName, cam, true, false, triggerName); 106 108 rt->update(); 107 109 restoreMaterials(); … … 132 134 case Light::LT_SPOTLIGHT: 133 135 triggerName = "ILLUM_TRIGGER_SM_SPOT"; 134 break; 135 case Light::LT_POINT: 136 triggerName = "ILLUM_TRIGGER_SM_POINT"; 137 break; 136 break; 138 137 } 139 138 setMaterialForVisibles(materialName, depthMapCamera, true, false, triggerName);
Note: See TracChangeset
for help on using the changeset viewer.