Red, green, and blue factors that scale each color channel in the camera’s image.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Model I/O
Simulating a real-world camera requires considering the way a pixel value captured by an imaging sensor is processed for display (or how a unit of film stock is developed and projected). Part of such consideration is the exposure level for each channel, applied to each color channel using the following formula:
In this formula,
sensor is the color level recorded by a sensor. In rendering, this value corresponds to the color component output of the rest of the rendering process before physical camera simulation effects are added. The baseValue produced by this formula should then be used with the
exposure property to produce a final output color level.