Lore archive · Warcraft Wiki, 2023 dump
API Model SetLight
Last wiki revision 2023-08-19
Specifies model lighting. Model:SetLight(enabled, light)
- enabled: - Appears to be true for lit and false for unlit.
- light:
- It seems that the diffuse/direct component only influences the specularity.
- The vector is only used to determine the direction that the light source faces; its distance from the mesh does not affect the light level.
Source
https://warcraft.wiki.gg/wiki/API_Model_SetLight · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.