SpatialMaterial.aoLightAffect

Amount that ambient occlusion affects lighting from lights. If 0, ambient occlusion only affects ambient light. If 1, ambient occlusion affects lights just as much as it affects ambient light. This can be used to impact the strength of the ambient occlusion effect, but typically looks unrealistic.

  1. double aoLightAffect [@property getter]
    struct SpatialMaterial
    @nogc nothrow @property
    double
    aoLightAffect
    ()
  2. double aoLightAffect [@property setter]

Meta