Method ColorBalanceToLMSCoeffs
ColorBalanceToLMSCoeffs(float, float)
Converts white balancing parameter to LMS coefficients.
Declaration
public static Vector3 ColorBalanceToLMSCoeffs(float temperature, float tint)
Parameters
Type | Name | Description |
---|---|---|
float | temperature | A temperature offset, in range [-100;100]. |
float | tint | A tint offset, in range [-100;100]. |
Returns
Type | Description |
---|---|
Vector3 | LMS coefficients. |