Table of Contents

Class LambertianPrefilteringSH

Namespace
Stride.Rendering.ComputeEffect.LambertianPrefiltering
Assembly
Stride.Rendering.dll

Performs Lambertian pre-filtering in the form of Spherical Harmonics.

public class LambertianPrefilteringSH : DrawEffect, IComponent, IReferencable, ICollectorHolder, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
Inheritance
LambertianPrefilteringSH
Implements
Inherited Members
Extension Methods

Constructors

LambertianPrefilteringSH(RenderContext)

public LambertianPrefilteringSH(RenderContext context)

Parameters

context RenderContext

Properties

HarmonicOrder

Gets or sets the level of precision desired when calculating the spherical harmonics.

public int HarmonicOrder { get; set; }

Property Value

int

PrefilteredLambertianSH

Gets the computed spherical harmonics corresponding to the pre-filtered lambertian.

public SphericalHarmonics PrefilteredLambertianSH { get; }

Property Value

SphericalHarmonics

RadianceMap

Gets or sets the input radiance map to pre-filter.

public Texture RadianceMap { get; set; }

Property Value

Texture

Methods

DrawCore(RenderDrawContext)

Main drawing method for this renderer that must be implemented.

protected override void DrawCore(RenderDrawContext context)

Parameters

context RenderDrawContext

The context.