Get Specular Colour: Difference between revisions

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
Line 5: Line 5:
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.
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 this comes from "specular highlights" settings in the GUI. Currently, ray traced reflections are not stored in the specular component, but this may change in future.
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 this comes from "specular highlights" settings in the GUI. Currently, ray traced reflections and transmissions are not stored in the specular component, but this may change in future.


__NOTOC__
__NOTOC__
<!-- imported from file: module_28.html-->
<!-- imported from file: module_28.html-->

Revision as of 07:00, 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 this comes from "specular highlights" settings in the GUI. Currently, ray traced reflections and transmissions are not stored in the specular component, but this may change in future.