d3d_light_specularity(facemode,r,g,b,a)
Jump to navigation
Jump to search
Description
Sets the specular lighting color and alpha. Interpolates between vertices.
Parameters
Parameter | Description |
---|---|
facemode | face mode of the specularity (eg. rs_front/rs_back) |
r | red value |
g | green value |
b | blue value |
a | alpha value |
Return Values
void: This function does not return anything.
Example Call
// demonstrates setting the specular lighting color to opaque red
d3d_light_specularity(rs_front, 255, 0, 0, 1);