Table of Contents

Class RadiancePrefilteringGGX

Namespace
Stride.Rendering.ComputeEffect.GGXPrefiltering
Assembly
Stride.Rendering.dll

A class for radiance pre-filtering using the GGX distribution function.

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

Constructors

RadiancePrefilteringGGX(RenderContext)

Create a new instance of the class.

public RadiancePrefilteringGGX(RenderContext context)

Parameters

context RenderContext

the context

Properties

DoNotFilterHighestLevel

Gets or sets the boolean indicating if the highest level of mipmaps should be let as-is or pre-filtered.

public bool DoNotFilterHighestLevel { get; set; }

Property Value

bool

MipmapGenerationCount

Gets or sets the number of pre-filtered mipmap to generate.

public int MipmapGenerationCount { get; set; }

Property Value

int

PrefilteredRadiance

Gets or sets the texture to use to store the result of the pre-filtering.

public Texture PrefilteredRadiance { get; set; }

Property Value

Texture

RadianceMap

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

public Texture RadianceMap { get; set; }

Property Value

Texture

SamplingsCount

Gets or sets the number of sampling used during the importance sampling

public int SamplingsCount { get; set; }

Property Value

int

Remarks

Should be a power of 2 and maximum value is 1024

Methods

DrawCore(RenderDrawContext)

Main drawing method for this renderer that must be implemented.

protected override void DrawCore(RenderDrawContext context)

Parameters

context RenderDrawContext

The context.