Interface IMaterialHairDiscardFunction
Common interface for discarding pixels for the hair shading model.
public interface IMaterialHairDiscardFunction
Methods
Generate(MaterialGeneratorContext, ValueParameterKey<float>)
Generates the shader class source used for the shader composition.
ShaderSource Generate(MaterialGeneratorContext context, ValueParameterKey<float> uniqueAlphaThresholdKey)
Parameters
context
MaterialGeneratorContextuniqueAlphaThresholdKey
ValueParameterKey<float>
Returns
- ShaderSource
ShaderSource.