Get Specular Colour: Difference between revisions

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:


[[Image:drex_module_28_image_0.png|485pxpx|Get Specular Colour]]
[[Image:drex_module_28_image_0.png|485pxpx|Get Specular Colour]]
Provides the "Specular 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.
Specular Colour is the additive component of the appearance of a surface which was reflected from light sources by an amount that strongly depended on the viewing angle, surface normal and light direction. Usually referred to as "specular highlights" in the GUI. Currently, ray traced reflections are not stored in the specular component, but this may change in future.


Provides the Specular Colour of the input node as its output.
__NOTOC__
__NOTOC__
<!-- imported from file: module_28.html-->
<!-- imported from file: module_28.html-->

Revision as of 06:57, 2 May 2011

Get Specular Colour

Get Specular Colour Provides the "Specular 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.

Specular Colour is the additive component of the appearance of a surface which was reflected from light sources by an amount that strongly depended on the viewing angle, surface normal and light direction. Usually referred to as "specular highlights" in the GUI. Currently, ray traced reflections are not stored in the specular component, but this may change in future.