Garry's Mod Wiki


  CLuaEmitter:SetNearClip( number distanceMin, number distanceMax )


This function sets the the distance between the render camera and the emitter at which the particles should start fading and at which distance fade ends ( alpha becomes 0 ).


1 number distanceMin
Min distance where the alpha becomes 0.
2 number distanceMax
Max distance where the alpha starts fading.