Hey
I have run in to this problem before but never found a solution.
I have a pretty large object and with fog on, the fog is visible on the object as if the object was further away.
The fog shouldn't appear until at the distance of the terrain in the background.
Any ideas?
Fog on large obejcts
Re: Fog on large obejcts
look in your init.con of the map at the fog and view distance settings...
renderer.fogLinearStart
renderer.fogLinearEnd
Game.setViewDistance
renderer.fogLinearStart
renderer.fogLinearEnd
Game.setViewDistance
Re: Fog on large obejcts
Thanks, these are not the same?
Renderer.FogLinearStart
Renderer.FogLinearEnd
/////////////////
Renderer.FogStart
Renderer.FogEnd
It does not seem to do anything different.
In the screenshot below, you can see the fog appearing on the large object, however the edge of the object is not "covered" by fog.
It's as if the fog coveres the object in a sphere from the center,
Renderer.FogLinearStart
Renderer.FogLinearEnd
/////////////////
Renderer.FogStart
Renderer.FogEnd
It does not seem to do anything different.
In the screenshot below, you can see the fog appearing on the large object, however the edge of the object is not "covered" by fog.
It's as if the fog coveres the object in a sphere from the center,
Re: Fog on large obejcts
I'd just break the object up into smaller objects.
-
- Posts: 221
- Joined: Mon Dec 13, 2010 7:59 am
- Location: Bat Country, California
- Contact:
Re: Fog on large obejcts
Yeah buddy, and remember, it's never going to be perfect.