Public Member Functions | |
virtual MCCOMErr MCCOMAPI | CalcReflection (ReflectionIO &reflectionIO, const LightingContext &lightingContext)=0 |
A reflection feature controls the way reflection is calculated on an object. For instance, you could trace rays through the scene to determine the effect or directly get a value for a precalculated map (reflection mapping)...
virtual MCCOMErr MCCOMAPI I3DExReflectionFeature::CalcReflection | ( | ReflectionIO & | reflectionIO, | |
const LightingContext & | lightingContext | |||
) | [pure virtual] |
Calculates the reflection given a particular lighting context (point, shading, incoming ray...)
reflectionIO | Info specific to the reflection features | |
lightingContext | The ligthing context (point, shading, incoming ray...) |
Implemented in TBasicReflectionFeature.