Tips for Sky Atmosphere & Fog - Unreal Engine 5 (& UE4)
0:00
大家好,欢迎回来。很高兴见到你们。今天教程的主题是如何设置天空氛围,以彻底改变场景的外观。
Hey everyone, welcome back. It's great to see you. The topic of today's tutorial is going to be all about how to set up the sky atmosphere to drastically change the look of your scenes.
0:09
通过几个滑块,我们可以将看起来像普通阳光明媚的日子,变成看起来像完全不同的星球。
So with just a few sliders, we can go from having something that looks like a regular average sunny day to something that looks like it's a totally different planet.
0:18
那么话不多说,我们直接开始吧。
So with that being said, let's jump right in and get started.
0:32
好的,现在我们进入虚幻引擎,这个教程中的内容适用于虚幻引擎4和虚幻引擎5。
All right, so now that we're in Unreal, what we're going to be looking at in this tutorial works in both Unreal Engine 4 and Unreal Engine 5.
0:38
我在这里使用的是UE5,但别担心,UE4中的过程完全相同。
I'm using UE5 here, but don't worry, the process is exactly the same in UE4.
0:43
我这里的场景是我在上次直播中创建的场景。我会在下面的描述中放上链接。
The scene I have right here is a scene that I created during my last livestream. I'll put the link to it in the description below.
0:48
首先,我们将完全重新照明这个场景,我将向你展示如何通过几个滑块完全改变场景的氛围。让我们开始吧。
So for starters, we're just going to relight this completely, and I'm going to show you how you can completely change the mode of your scene with just a few sliders. So let's get started.
0:54
我将首先使用环境光混合器来建立一个默认的天空氛围系统。
So the first thing I'm going to do is I'm going to use the Environment Light Mixer to establish a default sky atmosphere system.
1:01
你会在这里找到选项卡。如果你没有这个选项卡,可以去窗口然后打开环境光混合器。
So you'll find the tab right here. If you don't have the tab right there, you can go to window and then open ENV light mixer.
1:08
如果你不知道如何使用它,我在这里做了一个教程。我会在描述中放上链接。
If you don't know how to use it, I made a tutorial about it right here. I'll put the link to which in the description as well.
1:13
如果你不知道如何使用环境光混合器,可以去查看那个教程。我将进入照明模式,以便我们能看到我们在做什么。
So go check that out if you don't know how to use the environment light mixer. So I'm going to go into lit mode so we'd see what we're doing.
1:19
在环境光混合器中,你需要创建天空光,创建大气光零,和创建天空氛围。
And in the environment light mixer, you're going to want to create skylight, create atmospheric light zero, and create sky atmosphere.
1:25
现在你会注意到一切仍然有点黑。这是正常的。别担心。别忘了切换你的方向光。
Now you'll notice everything's still kind of black. That's normal. Don't worry. Don't forget to toggle your directional light.
1:30
你的天空光也应该开启实时捕捉。
And your skylight should also have real-time capture turned on.
1:35
现在你会注意到,如果我们旋转方向光,天空也会根据太阳在天空中的高度而变化。
So you'll notice now that if we rotate our directional light, you know, the sky will also change accordingly depending on how high the sun is in the sky.
1:44
当太阳接近地平线时,一切都会变得温暖的黄色。这一切都感觉非常真实。
So as the sun gets closer to the horizon everything kind of gets a nice warm yellow color. And this all feels very believable.
1:51
这感觉非常像地球。相当现实,因为我们习惯看到的光和颜色。
This feels very earth-like. Pretty realistic in the sense that you know all the light it's colors that we're used to seeing.
1:57
但是如果我们想将其提升到另一个层次,真的想要改变我们场景的整体氛围,会发生什么呢?
But what happens if we want to take it to the next level and we really want to just change the mood the entire mood of our scene here?
2:03
我将离开相机视角,向你们展示一些可以改变的天空氛围设置,以彻底改变场景的外观。
I'm going to get out of camera view here and show you guys a few sky atmosphere settings that you can change to totally change the look of your scene.
2:12
所以在这里缩小视角,让我们在大纲中查看我们的天空氛围。
So zooming out here, let's take a look at our sky atmosphere in the outliner here.
2:17
在详细信息面板中,让我们向下滚动到说大气的地方,就在我这里。
And in the details panel, let's scroll down all the way to where it says atmosphere, my right here.
2:24
好的。如果你能玩一下我的散射比例,
Okay. And if you'd play with or play around with the my scattering scale,
2:29
你会注意到一切开始看起来非常不同,对吧?
you'll notice that things start looking very different, right?
2:32
你会注意到,哇,几乎感觉像是一场沙漠风暴。
Like you'll notice like, Whoa, almost feel like a kind of a desert storm or something.
2:36
这是一种非常有趣的外观,仅通过简单的滑块调整就能实现。
This is a very interesting look that it gives with just a very simple adjustment of the slider.
2:43
另一个可以更改的设置是瑞利散射。好的,我们将在这里玩一下,你会突然注意到,哇,事情看起来完全不同。
Another setting you can change is the Rayleigh scattering. OK, so we're going to play around with this right here and you'll notice suddenly like, whoa, things look totally different.
2:52
所以如果你玩这两个滑块,瑞利散射比例和我的散射比例,你可以实现一些非常有趣的日落效果,这是默认情况下无法找到的。
So if you play with these two sliders, both the Rayleigh scattering scale and my scattering scale, you know, you can definitely achieve some very interesting looking sunsets, things that you wouldn't be able to find by default.
3:04
所以这是我最喜欢的两个设置之一。
So these are two of my favorite settings to play around with.
3:08
你还有我的吸收比例可以在这里调整。所以这里有一些滑块你真的应该了解。
You also have my absorption scale as well that you can play as well here. So there's a few sliders here that you really should know about.
3:16
显然,我不是来告诉你这里有什么正确或错误的答案。你需要自己做艺术指导。
Obviously, I'm not here to tell you that there's a right or wrong answer to use here. You need to be the art director yourself.
3:22
但这个视频的重点是让你意识到这些滑块的存在。
But the point of this video is to make you aware that these sliders exist.
3:25
现在,请记住,你在底部还有一个艺术指导框,你可以在这里稍微调整一下天空的颜色,还有一些其他的设置,比如高度雾的贡献和其他设置。
Now, keep in mind, you also have an art direction box at the bottom here where you can kind of tweak the color of your sky a little bit more, as well as having a few other settings for a height fog contribution and a bunch of other settings.
3:37
所以我真的只是想让你意识到天空氛围的整个部分。
So I really just want to make you aware of this whole section down here of the sky atmosphere.
3:42
现在我想和你们谈的最后一件事是如何将指数高度雾与天空氛围结合使用。
And now the last thing I want to talk to you guys about is how to use the exponential height fog in conjunction with the sky atmosphere.
3:49
所以我看到这个被误用的情况非常多,我将向你展示如何正确使用它。我们将进入放置演员菜单。
So I see this misused all the time, and I'm going to show you how to use it properly. So we're going to go up here in the place actors menu.
3:56
我们将创建一个高度雾。
We're going to create a height fog.
4:01
你会注意到,事情变得过于明亮,真的
And you'll notice obviously things get way too bright, really
4:05
虽然有点夸张,但现在这样就可以了,我只是
over the top but this is fine for now I just
4:08
想给你展示一下,如果我把太阳旋转到下面会发生什么
want to show you notice what happens if I rotate the Sun below
4:12
地平线好吧,注意到一切都在它上面
the horizon okay notice how everything it
4:15
应该是黑色的,但并不是,注意到一切仍然非常
should be black but it's not like notice how everything is still very
4:18
明亮的蓝色,为什么会这样,这个原因是因为指数高度雾是一种叠加过程,好吧,你会注意到这里有几个设置可以更改。
bright blue why is this the reason for this is because the exponential height fog is an additive process okay and you'll notice here we have a few settings to change.
4:29
所以再次进入详细面板,我们想
So going to again to the details panel we want
4:32
在这里更改雾的散射颜色,将其设为黑色,然后再向下滚动一点,你还想更改方向的散射颜色,也将其设为黑色。
to change the fog in scattering color here make this black and scroll down a little bit further and you want to change the directional in scattering color and make this black as well.
4:43
现在注意到雾的颜色会正确变化,并根据太阳在地平线上的高度继承太阳的颜色。
And now notice how the fog will correctly change color and inherit the color of your Sun depending on how high it is on the horizon.
4:52
所以现在如果我们将太阳移到地平线以下,一切都变得
So now if we move the Sun below the horizon everything goes
4:55
黑色,正如它应该的那样,好吧,所以现在
black as it should okay so now
4:58
你的雾实际上会根据一天中的时间,正确地呈现天空或
your fog will actually take the correct color of the sky or
처음 5분까지만 무료로 볼 수 있어요. 이어서 보려면 앱이나 확장 프로그램을 설치하세요.
다운로드다른 언어로 요청하기





