Public Member Functions | |
| virtual MCCOMErr MCCOMAPI | BeginRenderFrame (I3DShLightsource *light)=0 |
| virtual MCCOMErr MCCOMAPI | EndRenderFrame ()=0 |
| virtual boolean MCCOMAPI | CalcShadow (ShadowIO &shadowIO, const LightingContext &lightingContext)=0 |
A shadow feature controls the way shadows are calculated on an object. For instance, you could trace rays through the scene or used a precalated shadow maps...
| virtual MCCOMErr MCCOMAPI I3DExShadowFeature::BeginRenderFrame | ( | I3DShLightsource * | light | ) | [pure virtual] |
Called by the shell at the beginning of the rendering of each frame. This fonction can be used to calculate a cache (shadow buffer for instance)
| light | : the light on which the shadow feature is applied |
Implemented in TBasicShadowFeature.
| virtual boolean MCCOMAPI I3DExShadowFeature::CalcShadow | ( | ShadowIO & | shadowIO, | |
| const LightingContext & | lightingContext | |||
| ) | [pure virtual] |
Calculate the light reaching a point from a light source
| shadowIO | : a structure containing all the parameters of this call | |
| lightingContext | : info about the point being lit |
True if a shadow was cast
Implemented in TBasicShadowFeature.
| virtual MCCOMErr MCCOMAPI I3DExShadowFeature::EndRenderFrame | ( | ) | [pure virtual] |
Called by the shell at the end of the rendering of each frame. This fonction can be used to delete caches.
Implemented in TBasicShadowFeature.
1.6.3