Enum ColorSpace
Defines the color space used for Textures, Materials, lighting calculations, etc.
[DataContract("ColorSpace")]
public enum ColorSpace
- Extension Methods
Fields
Gamma = 1Use a gamma color space.
A gamma color space is a color space in which colors are applied a gamma curve (like sRGB) so they are perceptually linear. This is useful when the output of the rendering (or the input Textures) represent final color values that will be presented to a non-HDR screen, or if they represent color values that won't be transformed in a post-processing step.
Linear = 0Use a linear color space, i.e. treat color values as linear values, without applying any gamma correction.
The linear color space is useful when the output of the rendering (or the input Textures) represent values that can be transformed in a post-processing step (such as tone-mapping, color-correction, etc.) or if they represent non-final color values (like intermediate buffers) or non-color values (like heights, roughness, etc.)