d3d_light_define_specularity - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Notation

Description

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

Parameters

  • id, index of the light object
  • r, red component
  • g, green component
  • b, blue component
  • a, alpha component

Return Values

This function has no return values.

Example Call

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

NOTOC

⚠️ **GitHub.com Fallback** ⚠️