Client Side Scene Fog?
tutu10 last edited by Sebastian Roth
I’m very new to Lua so I apologise if this is a dumb question.
Is it possible to draw scene fog that only the person who activated it can see? I’ve found a series of Fog-related functions in the Lua wiki but none of them have examples or explain how they’re used:
(To name a few)
I tried using these in a function similar to this:
localfunction DoFog() render.FogMode( MATERIAL_FOG_LINEAR_BELOW_FOG_Z ) render.FogMaxDensity( 100 ) render.SetFogZ( 10 ) end
And it doesn’t work because I’m obviously doing it wrong. Is this even possible? And can someone help me? =(
@tutu10 i think you posted this to the wrong forum…