Scripting API
Scripting API
ImageColor
Enum in Abyss.Core, from Abyss.Core.
What the numbers in an image made from pixels are.
public enum ImageColor : uintRemarks
The same bytes are two different pictures. A color somebody looks at is stored the way a screen shows it, sRGB, and the GPU turns it linear as it reads it; a normal map or a mask is numbers, and turning those would bend them. A file says which it is; pixels made in code come with nobody saying, so the call does.
Values
| Name | Value | Description |
|---|---|---|
Srgb | 0 | Colors somebody sees: a picture, a base color, an emissive color. |
Linear | 1 | Numbers that are not colors: a normal map, roughness, a mask. |
