Our second tutorial for VFX is out and this time I detail creating some brute force volumetrics within UE4 from start to finish. This is useful for vapor/gases close to the ground. There’s a lot of room for improvement and expansion of this technique ranging from clouds in the sky to displaying a terrains height map for a holographic effect.
This method would likely hold up in a production environment, though there is a ton of overdraw. From our initial tests, there seems to be little to no impact on framerate by using this method, though we’d recommend you using this sparingly in larger areas when implementing this.
I recently bought a brand new microphone to help with the sound quality and volume for this specific purpose.
Ground Fog/Vapor:
Clouds using the same method:
I plan on continuing to provide tutorials to the VFX community, so please let me know if you have any further requests. I’d love to see what you guys come up with by using this technique. Admins let me know if I should start combining tutorials into a single thread as I post more over time.
This is really cool! Really easy to digest; great job with the video! I’m also happy you did the bonus with the sequencer, had no idea that was a thing
Nicely done! It reminds me of a scene I made in AC: Rev years ago. Tbh, I think your method here is likely cheaper than what I ended up using back then. I had the floor littered with quarter pipe shaped particles. So the overdraw was better if you look down directly, but it was super super bad when you’d look horizontally from close-ish to the ground. Fortunately the camera control didn’t let it go to places where it’d get real bad
Have you tried to do ground fires that way? This is something i usually do for funsies whenever I find a cool technique to do anything I try to do fire with it… Just cause… I like to burn things… a little. maybe…
I registered just to say thank you for this. The effect is not just amazing but super useful and your tutorial is really smooth and understandable. It would be amazing if you could share more magic stuff like this.
I will probably be doing a part two to this tutorial to show how to implement flowmaps and how to create smoke that can be seen from the X/Y axis as well, like the stream of volumetric smoke below.
Nice technique Blueprints makes all of that pretty clear, nice and easy!
I was thinking about absolutely same way to achieve volumetric fog, but was too scary about pixel overdraw. But, meh… looks like performance isnt too bad
My fog. But instead of using BP i just make some, i guess, a “gradient lookup remapping” for making all planes slicing their own heigth part of texture.
I’m sure there are a few ways to handle this, blue prints was the easiest way I could come up with. Love what you did and the results speak for themselves! One thing you could do is if pixels are completely transparent, delete faces/vertices there and have an adaptive mesh setup. Though I have no clue how to do that right this second
Often you’ll find that the top 30-40% of the planes aren’t even used/have color in them and its purely just waste. Though i’m not sure if the cost of adaptive meshes outweigh just overdraw itself.
Overall excellent implementation and thanks for sharing!
Indeed they are, just instead of going just in Z+ axis, i made it work in -z axis as well, that way its a full cloud from top and bottom. I would highly recommend not doing it in a full production game as a sky unless its a cinematic or something, or you have the budget for it “somehow” haha.
Hi
Actually its pretty simple - it doesnt use any lighting at all
Material have a simple lerp between two color: darк and bright. Alpha for lerp are taking from same heigth map which are used for entire fog.