d3d_light_define_specularity(id,r,g,b,a)

From ENIGMA
Revision as of 21:10, 2 May 2013 by FrogotoBot (talk | contribs) (general cleanup using AWB)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Sets the specularity for a single light source. Interpolates between vertices and is not per pixel.

Parameters

Parameter Description
id index of the light object
r red component
g green component
b blue component
a alpha component

Return Values

void: This function does not return anything.

Example Call

// Demonstrates setting light source five to use half opaque full red specularity.
d3d_light_define_specularity(5, 255, 0, 0, 0.5);