Difference between revisions of "Get Diffuse Colour"
(→Get Diffuse Colour) |
|||
Line 4: | Line 4: | ||
[[Image:drex_module_26_image_0.png|485pxpx|Get Diffuse Colour]] | [[Image:drex_module_26_image_0.png|485pxpx|Get Diffuse Colour]] | ||
− | Provides the Diffuse Colour of the | + | Provides the "Diffuse Colour Coefficient" of the current [[Render State]]. The [[Render State]] is affected by any shaders which were called before this function is called, among other things. |
+ | |||
+ | Diffuse Colour Coefficient is the diffuse colour of a surface before being multiplied by lighting. Not all shaders set this value. | ||
__NOTOC__ | __NOTOC__ | ||
<!-- imported from file: module_26.html--> | <!-- imported from file: module_26.html--> |
Revision as of 06:44, 2 May 2011
Get Diffuse Colour
Provides the "Diffuse Colour Coefficient" of the current Render State. The Render State is affected by any shaders which were called before this function is called, among other things.
Diffuse Colour Coefficient is the diffuse colour of a surface before being multiplied by lighting. Not all shaders set this value.