Vixen
02b45cc4
csharp
public record class SpecularGlossinessFeature

The 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 (4)

  • public Vector3 DiffuseColor

    Diffuse albedo, linear.

  • public Vector3 SpecularColor

    Reflectance at normal incidence, linear.

  • public float Glossiness

    How polished the surface is — the complement of roughness.

  • public string ShaderName

    The Raven shader implementing this feature, from Raven/Library/Material.

Methods (1)

Used by (5)

  • MaterialCompilerTestsVixen.Rendering.Tests
  • MaterialSurfaceVixen.Rendering
  • MaterialSurfaceTestsVixen.Rendering.Tests
  • TypeRegistrationVixen.Rendering
  • Vixen_Rendering_Materials_SpecularGlossinessFeatureSerializerVixen.Rendering