Get Specular Colour

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search

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.