csharp
public record class OcclusionFeatureApplies baked ambient occlusion to indirect diffuse.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (3)
public float OcclusionMapHow much light reaches this point, 0..1.
public float StrengthHow much of the occlusion is applied.
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_OcclusionFeatureSerializerVixen.Rendering