Table of Contents

Interface IMaterialHairShadowingFunction

Namespace
Stride.Rendering.Materials
Assembly
Stride.Rendering.dll

Common interface for calculating the shadowing (light occlusion) for the hair shading model.

public interface IMaterialHairShadowingFunction

Methods

Generate(MaterialGeneratorContext)

Generates the shader class source used for the shader composition.

ShaderSource Generate(MaterialGeneratorContext context)

Parameters

context MaterialGeneratorContext

Returns

ShaderSource

ShaderSource.