Enable Or Disable Fog In A Specific Area | No Fog Inside Buildings - Unreal Engine 4 Tutorial

  Рет қаралды 16,094

Matt Aspland

Matt Aspland

Күн бұрын

Hey guys, in today's video, I'm going to be showing you how to create an area where the fog will either appear or disappear. This means that you can have it so when you enter a building, or go inside, there will be no fog and it will disappear. This will also smoothly transition between the two.
#Ue4 #UnrealEngine4 #Ue4Tutorial
___________________________________________________________________________
00:00 - Intro
00:14 - Overview
00:40 - Tutorial
06:57 - Final Overview
07:20 - Outro
___________________________________________________________________________
Unreal Engine 4 Tutorials Playlist: • Unreal Engine 4 Tutorials
The Basics Of Nodes Playlist: • The Basics Of Nodes In...
Blender Tutorials Playlist: • Blender Tutorials
___________________________________________________________________________
If you enjoy make sure to subscribe: / @mattaspland
Join My Discord Server: / discord
Follow Me On Instagram: / matt_aspland_
___________________________________________________________________________
If you want to support me, you can PayPal me at "matt.aspland.1@gmail.com". This is by no means expected or required. It is just a nice support :)
Link to PayPal: www.paypal.com/
You can also support me on Ko-Fi following this link: ko-fi.com/mattaspland
Thank you :) ___________________________________________________________________________
♫Music By♫
●Kronicle - Chill Noons
●Soundcloud - / the-chemist-10

Пікірлер: 50
@TheF4c3m4n
@TheF4c3m4n 3 жыл бұрын
This is cool and could be used in so many ways! Thanks Matt. I actually needed something like this.
@MattAspland
@MattAspland 3 жыл бұрын
Thank you and no problem! Happy to help and glad you can utilise this :)
@dage6131
@dage6131 3 жыл бұрын
Freaking awesome Tutorial, i have a question, Is there a way to keep the fog from dissappearing when entering the building, making it to where you can look out the window and still see the fog outside the house.
@DarkUndeadSpawn
@DarkUndeadSpawn Жыл бұрын
I know this is a year ago but possibly setup box triggers on windows for when the player move towards the window the fog will appear but they need to be close, The fog will appear. Move away and it will disappear. It will need tweaking to your liking.
@vandercomics
@vandercomics 3 жыл бұрын
Matt you are a real hero when it comes to the unreal dev community!
@MattAspland
@MattAspland 3 жыл бұрын
Thank you! Happy to provide and help everyone out! :)
@1d33f1x3
@1d33f1x3 3 жыл бұрын
This was a big help, thank you!
@MattAspland
@MattAspland 3 жыл бұрын
Great to hear man, happy to help! :)
@JustZiReacts
@JustZiReacts 3 жыл бұрын
Awesome work. Thanks so much❤
@MattAspland
@MattAspland 3 жыл бұрын
Thank you and no problem! :)
@kevCarrico
@kevCarrico 10 ай бұрын
great video - thank you!
@lordtalosgaming1448
@lordtalosgaming1448 Жыл бұрын
Not exactly what I was looking for (I was trying to make the fog truly local, so if you looked out the window, there'd still be fog outdoors), but I still love the video as I learnt something that may be of use in the future. Could you do a tutorial on how to achieve what I described? Thanks
@aviationengine6701
@aviationengine6701 8 ай бұрын
Did you find a solution?
@skateboardingfather6629
@skateboardingfather6629 3 жыл бұрын
If people that use unreal only knew of ur channel u provide content no one is thinking of but is very useful
@MattAspland
@MattAspland 3 жыл бұрын
Ah thank you, I’m glad so many do enjoy it already! Happy to provide content for you! :)
@hasnomoney1800
@hasnomoney1800 2 жыл бұрын
I am surprised google has found this video for me especially when I misspled fog and called it dog. So what I googled was "how to get dog not inside building"
@Nozera
@Nozera Жыл бұрын
nice! thx.
@m249tacticalsamurai8
@m249tacticalsamurai8 3 жыл бұрын
Thank you!. your videos and like puzzle pieces to make a game!.
@MattAspland
@MattAspland 3 жыл бұрын
No problem! Glad to help and have fun putting them all together to create the final piece :)
@jomoswagos
@jomoswagos 2 жыл бұрын
thumbs up 🙂
@s.e.c.u.8340
@s.e.c.u.8340 3 жыл бұрын
Nice
@abdullahsohail5395
@abdullahsohail5395 3 жыл бұрын
Thanks alot that will help me alot
@MattAspland
@MattAspland 3 жыл бұрын
No problem, happy to help! :)
@Alex00m
@Alex00m 3 жыл бұрын
This is cool, iam going to do this 😃😎👍
@MattAspland
@MattAspland 3 жыл бұрын
Thanks, glad you can utilise it! :)
@Christpy
@Christpy Жыл бұрын
Is there a way to get the same effect via the Editor window and not just in play Mode ? How I can enable the fog effect when I'm in the box with the camera in editor mode ? Right now it work perfectly, but I actually need to be in play mode each time if I want to see the result of my Fog settings and I can't edit it correctly in Edit mode. Thanks
@coldheist
@coldheist 2 жыл бұрын
Thanks Matt. but what if fog in one place for example (fog in a room or storage )
@vandercomics
@vandercomics 3 жыл бұрын
If you have any knowlage of networking, could you do some tutorials on gamemodes like capture the flag and conquest?
@MattAspland
@MattAspland 3 жыл бұрын
I don't have too much experience in networking, but maybe I could take a look if I get some time :)
@ChrisCohen
@ChrisCohen 2 жыл бұрын
Just a quick note to say this method won't work with volumetric fog that has been added to an exponential height fog actor, because volumetric fog doesn't support start distance (it's fixed at 0). As a workaround, you can use this method to flip it completely on or off, with the drawback that it's pretty obvious when it switches on and off. A more convincing solution would be to interpolate the actual amount of volumetric fog using this method, as in the fog density, but you'd need to store the original density somewhere as a variable so that it can return to that density later.
@Si-Toecutter
@Si-Toecutter 3 жыл бұрын
Bro, Ive been trying this, and As Ive got volumetric fog enabled then I have no access to start distance so ive done a simple set actor hidden in game connected to the expfog upon overlap but its not working, also tried set visibilty... could be the issue i was having the other day with set actor hidden? 4.25
@lordtalosgaming1448
@lordtalosgaming1448 Жыл бұрын
not sure if it's relevant, but when I was working with exponential height fog, I noticed that setting shadow quality to low ensures the start distance and max opacity works properly, but setting shadow quality to medium or higher breaks it.
@JupiterSaturn69
@JupiterSaturn69 2 жыл бұрын
How would you set it up to enable or disable volumetric fog in different areas?
@kevCarrico
@kevCarrico 10 ай бұрын
get rid of the timeline and the lerp, and use Set Volumetric to turn it on and off.
@ismet3001
@ismet3001 3 жыл бұрын
Can we apply this tutorial for a top down roof? Like the roof of a building is going to disappear slowly when the player goes inside.
@MattAspland
@MattAspland 3 жыл бұрын
Yeah you could do that, do the same thing with the timeline but with visibility or opacity, I can’t remember the exact name right now. If you need help setting it up let me know :)
@adrianpluville5938
@adrianpluville5938 8 ай бұрын
My problem is quite the opposite; I want the fog to show INSIDE a building, but I just can't make it appear in the interior.. the fog just stays outside. How do I make them appear inside buildings too?
@TR-707
@TR-707 Жыл бұрын
ok but then if you look outisde there will be no fog? that seems kinda wrong ehh
@aviationengine6701
@aviationengine6701 8 ай бұрын
Did you find a solution?
@Majestic_Graphics
@Majestic_Graphics 3 жыл бұрын
this was simple and interesting as I have a question. I'm using UDS (ultra dynamic sky) in my project, and I have a floating island in space,.. IS IT possible to keep the height fog inside of the dome & and not run on infinitely as I go into space ?? I'm trying to accomplish this and it is cramping the style of immersion I'm trying to create... Any Help?
@vrver2802
@vrver2802 3 жыл бұрын
so when you look outside from a door inside .... no fog seems lame!!
@shashhh_
@shashhh_ 3 жыл бұрын
this doesn't seem to work for me ;3
@lexxrelaxx2016
@lexxrelaxx2016 3 жыл бұрын
Can we do this fog more smoky? I mean more claudy maybe?
@Xperto_
@Xperto_ 3 жыл бұрын
Or you could use particles
@MattAspland
@MattAspland 3 жыл бұрын
Yep you could do that too, might be more efficient for not as powerful computers too
@Xperto_
@Xperto_ 3 жыл бұрын
@@MattAspland yeah but it also would allow you to see the fog outdoors, and you can still use exponential fog btw, you can have volumetric materials applied to volumes spawn in a niagra emitter
@MattAspland
@MattAspland 3 жыл бұрын
Yeah, all great ideas. Just about experimenting with them and seeing which ones you prefer and think suit best for your game :)
@Xperto_
@Xperto_ 3 жыл бұрын
@@MattAspland yeah, if I was to get back into UE I'd definitely try this out. Fun stuff
@MattAspland
@MattAspland 3 жыл бұрын
Yeah definitely, lots of different opportunities and ways of doing things.
@greengamerguy623
@greengamerguy623 2 жыл бұрын
This is misleading and a let down obviously you can just turn it down but then outside will look like shit out of windows thanks, but this is useless imo.
The Fog You Didn't Know About in Unreal Engine (Probably)
8:24
The Noodle Stamp Secret 😱 #shorts
00:30
Mr DegrEE
Рет қаралды 65 МЛН
Master Cinematic Fog & Volumetric God Rays in UE5
17:44
Josh Toonen
Рет қаралды 74 М.
Cheap Fog in UE4 [Depth-mask post process]
5:58
PrismaticaDev
Рет қаралды 41 М.
How To Light Interiors In Unreal Engine 4 & 5 (Tutorial)
9:21
Matt Aspland
Рет қаралды 29 М.
UE5 Speed Horror Level Design | Unreal Engine 5 Horror Game
11:51
How To Make Thick 3D Mist Zones In UE5?
15:11
BoroCG
Рет қаралды 17 М.
How To Create A Pause Menu - Unreal Engine 4 Tutorial
8:45
Matt Aspland
Рет қаралды 48 М.
UE4 Tutorial: Local Volumetric Fog
22:50
underscore
Рет қаралды 99 М.
Distance Fields (Part 1) | 5-Minute Materials [UE4/UE5]
9:20
PrismaticaDev
Рет қаралды 99 М.