csharp
public record class SubsurfaceShadingWrapped diffuse and back-lighting: skin, wax, leaves, thin cloth.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The parameters here describe the model rather than the surface, which is the split the two slots exist for: how far light wraps past the terminator is one number for the whole material, where how thick the surface is varies over it and belongs to SubsurfaceFeature.
Fields and properties (3)
public float WrapHow far past the terminator light wraps, 0..1. Zero is Lambert.
public float TransmissionPowerHow tightly the back-lit lobe hugs the view direction.
public string ShaderNameThe 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 (3)
- MaterialShadingVixen.Rendering
- TypeRegistrationVixen.Rendering
- Vixen_Rendering_Materials_SubsurfaceShadingSerializerVixen.Rendering