Wikia

WoWWiki

Watchlist Recent changes

API Model SetFogColor

Main Menue



Sets the color used for the fogging in the ModelFrame

myModel:SetFogColor(r, g, b);

Arguments
r,g,b: number values between 0.0 and 1.0 for each red, green and blue.

Returns
nil

Description

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.

Pages on WoWWiki

95,745pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
58,022photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki