Public Member Functions | |
| LightingCompositingDetail () | |
| void | Reset () |
| void | InterpolateDetails (const LightingCompositingDetail &a, const LightingCompositingDetail &b, real32 t, boolean computeShadow, boolean computeAtmosphere, boolean computeVolumePrimitive) |
Public Attributes | |
| TMCColorRGBA | fResColor |
| Resulting color from lighting & shading (alpha should be premultiplied). | |
| TMCColorRGB | fBackground |
| Background component (composited as normal). | |
| TMCColorRGB | fAmbient |
| Ambient containing ambient occlusion factor if any (composited as additive : C = C + C_this, for each component (red, green and blue) ). | |
| TMCColorRGB | fDiffuseLight |
| Diffuse (composited as additive). NOTE: It should contains shadowing except if the fComputeSeparatedShadow flag is set on the the IllumSettings. | |
| TMCColorRGB | fSpecularLight |
| Specular (composited as additive). NOTE: It should contains shadowing except if the fComputeSeparatedShadow flag is set on the the IllumSettings. | |
| TMCColorRGB | fLightShadow |
| Shadow (multiplies fDiffuseLight + fSpecularLight). NOTE: It should only be computed when the fComputeSeparatedShadow flag is set on the the IllumSettings. | |
| TMCColorRGB | fGlow |
| Glow (composited as additive). | |
| TMCColorRGB | fReflection |
| Reflection (composited as additive). | |
| TMCColorRGB | fRefraction |
| Refraction and transparency (composited as additive). | |
| TMCColorRGB | fGlobalIllumination |
| Global illumination (composited as additive). | |
| TMCColorRGB | fCaustics |
| Caustics (composited as additive). | |
| TMCColorRGB | fSubsurfaceScattering |
| Subsurface scattering (composited as additive). | |
| TColorRGBLinearEffect | fAtmosphere |
| Atmosphere linear components. NOTE: It should only be computed when the fComputeAtmosphereDetails flag is set on the the IllumSettings. | |
| TColorRGBLinearEffect | fVolumePrimitives |
| Volume primitives linear components. NOTE: It should only be computed when the fComputeVolumePrimitivesDetails flag is set on the the IllumSettings. | |
| TMCColorRGB | fVolumetricEffects |
| Volume effects linear components. NOTE: It should only be computed when the fComputeVolumetricEffectsDetails flag is set on the the IllumSettings. | |
| real | fAmbientOcclusionFactor |
| Ambient occlusion factor (this is not composited as it should already be included in the fAmbient field). | |
Struct used to get details information about the lighting of a point regarding multi-passes. The content need to be filled in order to be supported correctly by the multi-pass rendering module.
| LightingCompositingDetail::LightingCompositingDetail | ( | ) | [inline] |
| void LightingCompositingDetail::InterpolateDetails | ( | const LightingCompositingDetail & | a, | |
| const LightingCompositingDetail & | b, | |||
| real32 | t, | |||
| boolean | computeShadow, | |||
| boolean | computeAtmosphere, | |||
| boolean | computeVolumePrimitive | |||
| ) |
| void LightingCompositingDetail::Reset | ( | ) | [inline] |
Ambient containing ambient occlusion factor if any (composited as additive : C = C + C_this, for each component (red, green and blue) ).
Ambient occlusion factor (this is not composited as it should already be included in the fAmbient field).
Atmosphere linear components. NOTE: It should only be computed when the fComputeAtmosphereDetails flag is set on the the IllumSettings.
Background component (composited as normal).
Caustics (composited as additive).
Diffuse (composited as additive). NOTE: It should contains shadowing except if the fComputeSeparatedShadow flag is set on the the IllumSettings.
Global illumination (composited as additive).
Glow (composited as additive).
Shadow (multiplies fDiffuseLight + fSpecularLight). NOTE: It should only be computed when the fComputeSeparatedShadow flag is set on the the IllumSettings.
Reflection (composited as additive).
Refraction and transparency (composited as additive).
Resulting color from lighting & shading (alpha should be premultiplied).
Specular (composited as additive). NOTE: It should contains shadowing except if the fComputeSeparatedShadow flag is set on the the IllumSettings.
Subsurface scattering (composited as additive).
Volume primitives linear components. NOTE: It should only be computed when the fComputeVolumePrimitivesDetails flag is set on the the IllumSettings.
Volume effects linear components. NOTE: It should only be computed when the fComputeVolumetricEffectsDetails flag is set on the the IllumSettings.
1.6.3