Instance Property

highDynamicRangeCompression

Two parameters that determine the brightness compression curve for colors in the texture image.

Declaration

@property(nonatomic, assign) vector_float2 highDynamicRangeCompression;

Discussion

To render a sky texture, Model I/O first simulates the colors visible in the sky at different directions and then applies tone mapping to fit the resulting colors into the range of displayable values. In tone mapping, Model I/O ignores values below the x component of this vector, clamps color values at or above the y component to the maximum display brightness, and smoothly scales color values in between those points.

See Also

Working with Tone Mapping Parameters

gamma

The amount of gamma correction to apply during tone mapping.

exposure

The amount of exposure compensation to apply during tone mapping.

brightness

The amount of brightness enhancement to apply during tone mapping.

contrast

The amount of contrast enhancement to apply during tone mapping.

saturation

The amount of saturation enhancement to apply during tone mapping.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software