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
RenderContextthe 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
MipmapGenerationCount
Gets or sets the number of pre-filtered mipmap to generate.
public int MipmapGenerationCount { get; set; }
Property Value
PrefilteredRadiance
Gets or sets the texture to use to store the result of the pre-filtering.
public Texture PrefilteredRadiance { get; set; }
Property Value
RadianceMap
Gets or sets the input radiance map to pre-filter.
public Texture RadianceMap { get; set; }
Property Value
SamplingsCount
Gets or sets the number of sampling used during the importance sampling
public int SamplingsCount { get; set; }
Property Value
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
RenderDrawContextThe context.