Get Specular Colour: Difference between revisions
Jump to navigation
Jump to search
| 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. | 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. | ||
Revision as of 07:00, 2 May 2011
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.
