Page 1 of 1

Fog on large obejcts

Posted: Tue Dec 11, 2018 7:16 pm
by reegad
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?
Image

Re: Fog on large obejcts

Posted: Sun Dec 23, 2018 3:49 pm
by takiwa
look in your init.con of the map at the fog and view distance settings...

renderer.fogLinearStart
renderer.fogLinearEnd
Game.setViewDistance

Re: Fog on large obejcts

Posted: Fri Dec 28, 2018 1:08 pm
by reegad
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,
Image

Re: Fog on large obejcts

Posted: Fri Dec 28, 2018 5:29 pm
by russ
I'd just break the object up into smaller objects.

Re: Fog on large obejcts

Posted: Sun Dec 30, 2018 2:26 am
by GoodDayToDie!!
Yeah buddy, and remember, it's never going to be perfect.