csharp
public record class SubsurfaceFeatureLight that travels through the surface: skin, wax, leaves, thin cloth.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (3)
public Vector3 ScatterColorWhat colour light takes on as it scatters through.
public float ThicknessHow far light has to travel through the surface, in metres.
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_SubsurfaceFeatureSerializerVixen.Rendering