An object that provides color values representing the global illumination of the surface.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Self-illumination applies to all materials, but is especially useful for those using physically-based shading (see
SCNLighting). Physically-based materials work best with environment-based lighting (see the
lighting), but for some materials it can be useful to let a surface itself define part of its lighting—for example, an object whose position obscures it from the “sky” that provides the main lighting environment. When you assign contents to this property, they override the environmental lighting contribution to diffuse shading, but environmental lighting still contributes to specular effects.