Fog on large obejcts

Ask questions, discuss ideas, get answers
Post Reply
reegad
Posts: 82
Joined: Mon Nov 09, 2009 3:43 pm

Fog on large obejcts

Post 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
Image
takiwa
Posts: 134
Joined: Mon Dec 30, 2013 4:29 pm
Location: The Great State of Georgia

Re: Fog on large obejcts

Post by takiwa »

look in your init.con of the map at the fog and view distance settings...

renderer.fogLinearStart
renderer.fogLinearEnd
Game.setViewDistance
Image
reegad
Posts: 82
Joined: Mon Nov 09, 2009 3:43 pm

Re: Fog on large obejcts

Post 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
Image
russ
Posts: 73
Joined: Sun Oct 29, 2017 8:12 am

Re: Fog on large obejcts

Post by russ »

I'd just break the object up into smaller objects.
GoodDayToDie!!
Posts: 221
Joined: Mon Dec 13, 2010 7:59 am
Location: Bat Country, California
Contact:

Re: Fog on large obejcts

Post by GoodDayToDie!! »

Yeah buddy, and remember, it's never going to be perfect.
Image
Post Reply