CalculateAbsorptionValueFromColor#

Method in WaterRenderer

CalculateAbsorptionValueFromColor(Color)#

Calculates the absorption value from the absorption color.

Declaration#

public static Vector4 CalculateAbsorptionValueFromColor(Color color)

Parameters#

color

The absorption color.

Return#

The absorption value (XYZ value).