IMaterialHairShadowingFunction Interface
Namespace: Stride.Rendering.MaterialsAssembly: Stride.Rendering.dll
Common interface for calculating the shadowing (light occlusion) for the hair shading model.
public interface IMaterialHairShadowingFunction
Name | Description | |
---|---|---|
Methods | ||
Generate(MaterialGeneratorContext) | Generates the shader class source used for the shader composition. |
Methods
Generate(MaterialGeneratorContext)
Generates the shader class source used for the shader composition.
ShaderSource Generate(MaterialGeneratorContext context)
Parameters
Type | Name | Description |
---|---|---|
MaterialGeneratorContext | context |
Returns
Type | Description |
---|---|
ShaderSource | ShaderSource. |