faked volumetric fog in 1942

Ask questions, discuss ideas, get answers

faked volumetric fog in 1942

Postby fo0k » Wed Feb 20, 2013 4:49 pm

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..
User avatar
fo0k
 
Posts: 1416
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: faked volumetric fog in 1942

Postby fo0k » Sun Feb 24, 2013 12:32 am

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

User avatar
fo0k
 
Posts: 1416
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: faked volumetric fog in 1942

Postby freddy » Sun Feb 24, 2013 2:15 am

looks cool but im not really understand what im looking at, im crap with graphics stuff :)
User avatar
freddy
 
Posts: 1195
Joined: Sun Oct 18, 2009 4:58 pm

Re: faked volumetric fog in 1942

Postby Shrooms » Sun Feb 24, 2013 3:59 am

Hehe. Neat stuff man.
Shrooms
 
Posts: 69
Joined: Wed Aug 11, 2010 12:35 am

Re: faked volumetric fog in 1942

Postby Swaffy » Sun Feb 24, 2013 6:27 am

Freddy, it seems to me like it's a cool way to add more realistic lighting.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Image
User avatar
Swaffy
 
Posts: 1666
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: faked volumetric fog in 1942

Postby fo0k » Sun Feb 24, 2013 4:28 pm

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
User avatar
fo0k
 
Posts: 1416
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: faked volumetric fog in 1942

Postby Classical Modder » Tue Jun 13, 2017 3:37 am

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.
{SoH} Clan Leader // http://sohclan.forumotion.com/
See my Strasbourg map project here.
GSC: diamondback67
Steam: diamondback67
Classical Modder
 
Posts: 365
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada


Return to 1942 Modding Discussion

Who is online

Users browsing this forum: Google [Bot], King squirrels and 3 guests

cron