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