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

From ENIGMA
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);