Skip to content

Api > Mathf > GammaToLinearSpace()


Mathf.GammaToLinearSpace(number value)⚓︎

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

Parameters:⚓︎

Name Type Description
value number value

Returns:⚓︎

type Description
number Given value in Linear Space

Usage⚓︎

---@type number
local value;


local val0 = Mathf:GammaToLinearSpace(value)