Table of Contents

Class LambertianPrefilteringSHNoCompute

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

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

public class LambertianPrefilteringSHNoCompute : ImageEffect, IComponent, IReferencable, ICollectorHolder, IImageEffect, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
Inheritance
LambertianPrefilteringSHNoCompute
Implements
Inherited Members
Extension Methods

Constructors

LambertianPrefilteringSHNoCompute(RenderContext)

public LambertianPrefilteringSHNoCompute(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.