Skip to main content

Mathf.GammaToLinearSpace(number value)

Converts the given value from gamma (sRGB) to linear color space.

Parameters:

NameTypeDescription
valuenumbervalue

Returns:

typeDescription
numberGiven value in Linear Space

Usage

---@type number
local value;


local val0 = Mathf:GammaToLinearSpace(value)