Vixen
02b45cc4
csharp
public record class StandardShading

Lambert plus a GGX microfacet lobe: the default.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Every other model here is a change to this one, which is why it has no parameters: what it does is decided entirely by the surface it is given.

Fields and properties (1)

  • public string ShaderName

    The Raven shader implementing the model, from Raven/Library/Material.

Methods (1)

  • public void Compile(MaterialCompilationContext context)

    Writes the model's own parameters — a wrap width, a cel ramp's step count.

Used by (5)

  • MaterialDescriptorVixen.Rendering
  • MaterialReflectionTestsVixen.Rendering.Tests
  • MaterialShadingVixen.Rendering
  • TypeRegistrationVixen.Rendering
  • Vixen_Rendering_Materials_StandardShadingSerializerVixen.Rendering