Interface IMaterialHairLightAttenuationFunction
Common interface for calculating the light attenuation for the hair shading model.
public interface IMaterialHairLightAttenuationFunction
- Extension Methods
Methods
Generate(MaterialGeneratorContext)
Generates the shader class source used for the shader composition.
ShaderSource Generate(MaterialGeneratorContext context)
Parameters
context
MaterialGeneratorContext
Returns
- ShaderSource
ShaderSource.