|
SuperShadowShaderEffect Class |
SuperShadowShaderEffect is an effect that can use
SuperShader and configure it to render the scene with using the shadow mapping buffer that was rendered before.
Inheritance Hierarchy Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax public class SuperShadowShaderEffect : Effect
The SuperShadowShaderEffect type exposes the following members.
Constructors Properties Methods | Name | Description |
---|
| ApplyMaterial |
Applies the material and object's world matrix to this effect.
(Overrides EffectApplyMaterial(Material, RenderablePrimitiveBase)) |
| PreloadShaders |
PreloadShaders can be called to load the shaders in advance before they are used.
Calling this method increases the startup time, but when the 3D object needs to be shown, it is shown faster because all the shaders have already been created.
(Overrides EffectPreloadShaders) |
| SetShadowMappingParameters(ShadowLightData, Single, RenderingContext) |
SetShadowMappingParameters sets parameters needed for shadow mapping.
This method must be called after the ApplyPerFrameSettings(ICamera, IListILight, RenderingContext) method and enabled shadow rendering until the next call to ApplyPerFrameSettings(ICamera, IListILight, RenderingContext) method.
|
| SetShadowMappingParameters(ShadowLightData, Single, Single, RenderingContext) |
SetShadowMappingParameters sets parameters needed for shadow mapping.
This method must be called after the ApplyPerFrameSettings(ICamera, IListILight, RenderingContext) method and enabled shadow rendering until the next call to ApplyPerFrameSettings(ICamera, IListILight, RenderingContext) method.
|
TopFields See Also