Garry's Mod Wiki

IMaterial:GetVectorLinear

  Vector IMaterial:GetVectorLinear( string materialVector )

Description

Returns the specified material linear color vector, or nil if the value is not set.

See https://en.wikipedia.org/wiki/Gamma_correction

See also IMaterial:GetVector

Arguments

1 string materialVector
The name of the material vector.

Returns

1 Vector
The linear color vector
OSZAR »