csharp
public record class SpecularGlossinessFeatureThe specular/glossiness workflow, for content authored before metalness won.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Kept because converting an asset library is lossy in the other direction: a specular colour can express reflectances a single metalness cannot.
Fields and properties (5)
public Vector3 DiffuseColorDiffuse albedo, linear.
public Vector3 SpecularColorReflectance at normal incidence, linear.
public float GlossinessHow polished the surface is — the complement of roughness.
public string ShaderNameThe Raven shader implementing this feature, from Raven/Library/Material.
public bool IsBaseSurface
Methods (1)
public void Compile(MaterialCompilationContext context)Writes this feature's parameters, and fills any slots of its own.
Used by (5)
- MaterialCompilerTestsVixen.Rendering.Tests
- MaterialSurfaceVixen.Rendering
- MaterialSurfaceTestsVixen.Rendering.Tests
- TypeRegistrationVixen.Rendering
- Vixen_Rendering_Materials_SpecularGlossinessFeatureSerializerVixen.Rendering