Function; setLightSpecular - HWRM/KarosGraveyard GitHub Wiki

setLightSpecular (<sLightName>, <tSpecular>)

Description

Changes the specular parameter of the name light.

Example

Arguments

<sLightName>: the name of the light.
<tSpecular>: a table containing the RGB components of the specular effect. Values greater than 1.0 are assumed to be byte values [0..255], and get scaled. So, we get a vector instead.

Scope

Related Pages

Function Reference

SCAR (SCripting at Relic) Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

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