Vixen
02b45cc4
csharp
public record class BlendFeature

Two different surfaces, mixed by a weight.

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

Remarks

The heterogeneous half of layering — a metal-roughness base under a specular-glossiness overlay. Both sides must use different features, which the compiler checks: two layers of the same feature would share its parameters and be one layer twice. MaterialLayersFeature is what repeated layers want.

Fields and properties (4)

  • public IMaterialFeature? Under

    The layer underneath.

  • public IMaterialFeature? Over

    The layer on top.

  • public float Weight

    How much of Over shows, 0..1.

  • 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_BlendFeatureSerializerVixen.Rendering