Get Final Colour

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

Get Final Colour

Get Final Colour

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

Final Colour is the sum of all additive components of the appearance of a surface being rendered, after lighting contributions. Although it is defined to include atmosphere contributions if they have been applied, in practice Get Final Colour will always provide the colour of the surface prior to atmospheres being applied. Future changes to the renderer may expose contexts where functions can be used after atmosphere is applied, and in those places Get Final Colour would include atmosphere.