Fog on large obejcts

Ask questions, discuss ideas, get answers

Fog on large obejcts

Postby reegad » Tue Dec 11, 2018 7:16 pm

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
reegad
 
Posts: 72
Joined: Mon Nov 09, 2009 3:43 pm

Re: Fog on large obejcts

Postby takiwa » Sun Dec 23, 2018 3:49 pm

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

renderer.fogLinearStart
renderer.fogLinearEnd
Game.setViewDistance
Image
takiwa
 
Posts: 126
Joined: Mon Dec 30, 2013 4:29 pm
Location: The Great State of Georgia

Re: Fog on large obejcts

Postby reegad » Fri Dec 28, 2018 1:08 pm

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
reegad
 
Posts: 72
Joined: Mon Nov 09, 2009 3:43 pm

Re: Fog on large obejcts

Postby russ » Fri Dec 28, 2018 5:29 pm

I'd just break the object up into smaller objects.
russ
 
Posts: 61
Joined: Sun Oct 29, 2017 8:12 am

Re: Fog on large obejcts

Postby GoodDayToDie!! » Sun Dec 30, 2018 2:26 am

Yeah buddy, and remember, it's never going to be perfect.
Image
GoodDayToDie!!
 
Posts: 206
Joined: Mon Dec 13, 2010 7:59 am
Location: Bat Country, California


Return to 1942 Modding Discussion

Who is online

Users browsing this forum: No registered users and 26 guests