Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API Model SetFogColor

Last wiki revision 2023-08-19

Sets the color used for the fogging in the model frame. Model:SetFogColor(colorR, colorG, colorB [, a])

  • colorR:
  • colorG:
  • colorB:
  • a:
  • Immediately after calling SetFogColor your lighting will probably be messed up. You can fix this by adjusting the clipping planes, calling SetFogNear and SetFogFar
  • Do not use SetFogColor if you want to change the color that your mesh is rendered in! Instead use SetLight for those purposes.

Source

https://warcraft.wiki.gg/wiki/API_Model_SetFogColor · 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.