Class MaterialHairShadowingFunctionShadowing
Shadows the hair using traditional shadow mapping. The hair will be treated as an opaque surface.
[DataContract("MaterialHairShadowingFunctionShadowing")]
[Display("Shadowing", null)]
public class MaterialHairShadowingFunctionShadowing : IMaterialHairShadowingFunction
- Inheritance
-
MaterialHairShadowingFunctionShadowing
- Implements
Methods
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Generate(MaterialGeneratorContext)
Generates the shader class source used for the shader composition.
public ShaderSource Generate(MaterialGeneratorContext context)
Parameters
context
MaterialGeneratorContext
Returns
- ShaderSource
ShaderSource.
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.