• render.Fog* - how to?
    0 replies, posted
Hi. I need to use a fog in my gamemode, but this code: [code] function fog() render.FogStart(50) render.FogEnd(500) render.FogMode(MATERIAL_FOG_LINEAR) render.FogMaxDensity(1000) render.FogColor(255,255,255) end hook.Add("Think", "FogTest", fog) [/code] Does not works. I need a example of proper code.
Sorry, you need to Log In to post a reply to this thread.