LambertianPrefilteringSH Class
Namespace: Stride.Rendering.ComputeEffect.LambertianPrefilteringAssembly: Stride.Rendering.dll
Performs Lambertian pre-filtering in the form of Spherical Harmonics.
System.Object → DisposeBase → ComponentBase → RendererCoreBase → RendererBase → DrawEffect →
LambertianPrefilteringSH
Derived from LambertianPrefilteringSH:
public class LambertianPrefilteringSH : DrawEffect, IComponent, IReferencable, ICollectorHolder, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
Name | Description | |
---|---|---|
Constructors | ||
LambertianPrefilteringSH(RenderContext) | ||
Properties | ||
HarmonicOrder | Gets or sets the level of precision desired when calculating the spherical harmonics. |
|
PrefilteredLambertianSH | Gets the computed spherical harmonics corresponding to the pre-filtered lambertian. |
|
RadianceMap | Gets or sets the input radiance map to pre-filter. |
|
Methods | ||
DrawCore(RenderDrawContext) |
Constructors
LambertianPrefilteringSH(RenderContext)
public LambertianPrefilteringSH(RenderContext context)
Parameters
Type | Name | Description |
---|---|---|
RenderContext | context |
Properties
HarmonicOrder
Gets or sets the level of precision desired when calculating the spherical harmonics.
public int HarmonicOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PrefilteredLambertianSH
Gets the computed spherical harmonics corresponding to the pre-filtered lambertian.
public SphericalHarmonics PrefilteredLambertianSH { get; }
Property Value
Type | Description |
---|---|
SphericalHarmonics |
RadianceMap
Gets or sets the input radiance map to pre-filter.
public Texture RadianceMap { get; set; }
Property Value
Type | Description |
---|---|
Texture |
Methods
DrawCore(RenderDrawContext)
protected override void DrawCore(RenderDrawContext context)
Parameters
Type | Name | Description |
---|---|---|
RenderDrawContext | context |