Get Diffuse Colour

From Terragen Documentation from Planetside Software
Revision as of 06:44, 2 May 2011 by Matt (talk | contribs) (Get Diffuse Colour)
Jump to: navigation, search

Get Diffuse Colour

Get Diffuse Colour

Provides the "Diffuse Colour Coefficient" of the current Render State. The Render State is affected by any shaders which were called before this function is called, among other things.

Diffuse Colour Coefficient is the diffuse colour of a surface before being multiplied by lighting. Not all shaders set this value.