d3d_light_define_specularity - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Sets the specularity for a single light source. Interpolates between vertices and is not per pixel.
- id, index of the light object
- r, red component
- g, green component
- b, blue component
- a, alpha component
This function has no return values.
// Demonstrates setting light source five to use half opaque full red specularity.
d3d_light_define_specularity(5, 255, 0, 0, 0.5);
NOTOC