csharp
public record class AnisotropyFeatureStretches the specular lobe along the tangent: brushed metal, vinyl, satin.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Writes a channel that only AnisotropicShading reads. A material with this feature and the standard model compiles and looks isotropic, which is why the compiler pairs the two rather than leaving it to whoever authored the material.
Fields and properties (2)
public float AnisotropyHow far the lobe stretches, -1..1. The sign is which axis.
public string ShaderNameThe Raven shader implementing this feature, from Raven/Library/Material.
Methods (1)
public void Compile(MaterialCompilationContext context)Writes this feature's parameters, and fills any slots of its own.
Used by (3)
- MaterialCompilerTestsVixen.Rendering.Tests
- TypeRegistrationVixen.Rendering
- Vixen_Rendering_Materials_AnisotropyFeatureSerializerVixen.Rendering