Difference between revisions of "Get Final Colour"

From Terragen Documentation from Planetside Software
Jump to: navigation, search
(Get Final Colour)
(Get Final Colour)
Line 6: Line 6:
 
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.
 
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.
+
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 atmosphere. Future changes to the renderer may expose contexts where functions can be used after atmosphere.
  
 
__NOTOC__
 
__NOTOC__
 
<!-- imported from file: module_30.html-->
 
<!-- imported from file: module_30.html-->

Revision as of 07:18, 2 May 2011

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 atmosphere. Future changes to the renderer may expose contexts where functions can be used after atmosphere.