Physically |
public class PhysicallyBasedRenderingEffect : Effect
The PhysicallyBasedRenderingEffect type exposes the following members.
Name | Description | |
---|---|---|
PhysicallyBasedRenderingEffect | Constructor |
Name | Description | |
---|---|---|
RequiredInputLayoutType |
Gets the input layout that is required to render this effect.
(Overrides EffectRequiredInputLayoutType) | |
ShadowDepthBias | Gets or sets a float value that offsets the depth of the lights (distance from the lights to the object) and can help reduce the show artifacts in the corners. The value that works best need to be set based on the size of the scene. Default value is 0 that does not apply any bias. | |
ShadowThreshold | Gets or sets a float value that helps prevent light bleeding (having areas that should be in shadow fully illuminated) for variance shadow mapping. | |
ShadowTreshold | Obsolete. Gets or sets a float value that helps prevent light bleeding (having areas that should be in shadow fully illuminated) for variance shadow mapping. |
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 | SetShadowMappingParameters sets parameters needed for shadow mapping. |
Name | Description | |
---|---|---|
EffectName | Effect name |