• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. tutu10
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    tutu10

    @tutu10

    0
    Reputation
    14
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    tutu10 Unfollow Follow

    Latest posts made by tutu10

    • Client Side Scene Fog?

      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:

      • Render.FogMode
      • Render.FogMaxDensity
      • Render.FogColor
      • Render.SetFogZ

      (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? =(

      posted in General
      T
      tutu10