Jump to content

LOD Distance


Recommended Posts

Hello!

For some reason, after setting the LOD distance value, I can only reach a maximum of 325. Is there a way to increase the LOD distance to 1500?

outputChatBox(engineGetModelLODDistance(9684)) -- Returns 1500
engineSetModelLODDistance(9684, 1500)
outputChatBox(engineGetModelLODDistance(9684)) -- Returns 325

 

Link to comment

I think this function takes into account things like the player's video settings and the size of the object, so try to set a low value.

from wiki

Quote

However, there is a general draw distance limit of 300 units. So engineSetModelLODDistance(1337,400) will mean model 1337 will be visible up to a distance of 300 units no matter what the 'Video' tab says.

Therefore, unless it's really important, engineSetModelLODDistance should not be set to anything greater than 170.
170 will still give the maximum draw distance (of 300 units) on clients that have a 'Video' tab draw distance setting of 100%, and it will help reduce lag for players who chose a lower draw distance in their settings.

Link to comment
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...