

So once we're in this volume we want to go down to the fog rollout, open that up and you want to make sure that you enable fog. So this is where we're actually going to get the fog that creates the shaft of light effect. Now, once you have this we're going to hop over to the sky and fog volume. I'm going to do 4K, I'm going to do 4096, either one of those should work and you want to make sure that shadow map is enabled. And then in order to get the actual shaft of light effect you need a pretty high resolution shadow map. But before we do that we need to go over to our main light and scroll down, and we want to make sure that volumetrics are turned on. Now this is going to be an effect created by fog. You're going to have your main light, in this case the sun and then you're going to bounce over to the sky and fog volume. Now, in order to set this up you're going to be bouncing between two objects. In fact, if I want I can make the light a little bit lower and that might give me even a little bit more of the effect. And this will give me a little bit better indication of those volumetric shadows. So I'm going to just rotate this basically, you know, about 80, 90 degrees or so just enough so that I can kind of see the shadows here. And so first thing I want to do in order to really see this effect, the light kind of needs to be pointed a little bit towards the camera. I only have one light and that's called sun. Now, the first thing I want to do is just go ahead and select the light in the scene.

And so let's go ahead and get this set up. Cause has a lot of stuff that the light can pass around. So here I have a simple scene and this is perfect for volumetric lighting. And I'm sure you'll know the effect once you see it. And this is a great way to create kind of a moody lighting as well as way to create like shafts of visible light.
UNITY VOLUMETRIX LIGHT HOW TO
Today we're going to take a look at how to create volumetric lighting in Unity. You have a great deal more control over how the clouds are created, which you can see in more detail in the video tutorial linked below.- Hi, there I'm George Mistry. Turn on Enable and set it to active, turn on Cloud Control and set it to simple Now click Add Override, then select Sky->Volumetric Clouds Now create a Volumetric Profile by clicking New. Simply add a New->Volume->Global Volume to your scene. Next you need to add a volume to the scene (or use an existing one). Select the HDRP option on the left, then select the quality level and locate Next, also in the Project Settings, select Quality then take notice of the Currently Active Quality Level. Go to Graphics->HDRP Global Settings, locate Lighting and enable Volumetric Clouds.

To get started, there are a few settings you need to configure. To get started with Volumetric Clouds, you need to be running Unity 2021.2 or later and you need to create an HDRP project. If you want to learn more about Unity volumetric clouds you can check out the documentation available here with the more in-depth documentation available here. Unity have just added volumetric clouds to Unity 2021.2 using the HDRP, and in this post we will walk through the process of using them.
