Page 1 of 1

faked volumetric fog in 1942

Posted: Wed Feb 20, 2013 4:49 pm
by fo0k
edit:some better vids later in thread

http://www.youtube.com/watch?v=HE9xwc3AWX8



for the lulz..

this demo is very dark.. but if you use a 1% opacity on the layers its actually very hard to see them at all.. but you still get the fog..

Re: faked volumetric fog in 1942

Posted: Sun Feb 24, 2013 12:32 am
by fo0k
having fun with this,.. you can literally hide in the shadows.. nice half shadow on player too.
this uses a full grid setup for the fog layers.. with a lightmap/alpha on the grid mesh to control opacity around the door area to let the light fade in.

http://www.youtube.com/watch?v=-h0XIS45TAs


Re: faked volumetric fog in 1942

Posted: Sun Feb 24, 2013 2:15 am
by freddy
looks cool but im not really understand what im looking at, im crap with graphics stuff :)

Re: faked volumetric fog in 1942

Posted: Sun Feb 24, 2013 3:59 am
by Shrooms
Hehe. Neat stuff man.

Re: faked volumetric fog in 1942

Posted: Sun Feb 24, 2013 6:27 am
by Swaffy
Freddy, it seems to me like it's a cool way to add more realistic lighting.

Re: faked volumetric fog in 1942

Posted: Sun Feb 24, 2013 4:28 pm
by fo0k
Yeah, it started as fog but really this is a funky way to control lighting

some more fun with it and the basic process..






Take a room
Image

Place 'fog mesh' inside it
Image


Fog mesh is actually fairly low poly (800 tri's per 20 meter square area) and is just a series of flat planes with a double sided texture
It creates a few thousand 'pockets' like this which can all have different alpha levels for transparency

Image


we can make or render a basic alpha texture to apply to the fog mesh.
this uses light from the doorway

Image


this is the fog areas but its been reversed in this pic to make it easier to see. so the darker the fog, the lighter it would be in-game
Image


make funky custom alpha layers..
Image


party.
Image

Re: faked volumetric fog in 1942

Posted: Tue Jun 13, 2017 3:37 am
by Diamondback
This is actually a very interesting discovery. I see dynamic lighting in BF1942 (inside objects) as a possibility now.

One could for example create a pitch black rectangular fog mesh. Inside that mesh, another fog mesh would be made with an alpha layer that would be bright yellow (the light source). The fog mesh with the yellow alpha layer is addtemplated to a PCO.

When the PCO is destroyed, the fog mesh addtemplated to it then disappears, making the yellow alpha texture layer and therefore the light source, disappear, leaving the player in complete darkness. A "shut down the enemy power grid" type of map could be made with this I guess.

This looks promising.