Depth of Field on Translucent Material in UE5 Niagara Tutorial

Depth of Field on Translucent Material in UE5 Niagara Tutorial | Download Files

Download – https://www.patreon.com/posts/66281857
NFT – https://opensea.io/CGHOW
Twitter – https://twitter.com/cghow_
👉👉 If you Liked it – http://bit.ly/2UZmiZ4
Channel Ashif – http://bit.ly/3aYaniw
Support me on – https://www.patreon.com/Ashif
Support me on – paypal.me/9953280644
Depth of Field on Translucent Material in UE5 Niagara Tutorial | Download Files

#cghow #UE5 #UE4Niagara #gamefx #ue5niagara #ue4vfx #niagara #unrealengineniagara #realtimevfx

â—ŹUpload Your Tutorials/Work – https://cghow.com/
Purchase Effect Package From Unreal engine Marketplace –

Unreal Engine Niagara Effects in Marketplace – https://youtu.be/DF4Lb_btEus

Niagara Effects Pack in Marketplace – https://youtu.be/g6_k8T7FqHA

Unreal Engine Advanced Magical Effects in Marketplace – https://youtu.be/0Dn3GLIzhMo

Smoke in UE4 Niagara Pack01 in Unreal Engine Marketplace – https://youtu.be/38BPA_9yqJ8

UE4 Niagara Fire Pack 01 in Marketplace – https://youtu.be/PW5FL-zZoP4

UE4 Niagara Fire Pack 02 in Marketplace – https://youtu.be/fdLXPlUEzxM

UE4 Niagara Explosions Pack 02 in Marketplace – https://youtu.be/dj-XX9he4aE

Unreal Engine Niagara Effects Pack 03 in Marketplace – https://youtu.be/0kKon43I-Og

Slow Motion Explosion in UE4 Niagara Pack 04 in Marketplace – https://youtu.be/lUK1eW5zRP0

Unreal Engine Niagara Effects pack 04 in Marketplace – https://youtu.be/MihWYB31Gi4

Slow Motion Explosion in UE4 Niagara Pack 04 in Marketplace – https://youtu.be/lUK1eW5zRP0

UE4.25 Niagara Effects Pack 05 in Marketplace – https://youtu.be/sn1HIENVTDI

UE4.25 Niagara Effects Pack 06 in Marketplace – https://youtu.be/pvH_xGQ5jvs

Explosions Package in Unreal Engine Niagara Particle System – https://youtu.be/1mbqWscjUJ4

â—ŹFollow FB Page – https://www.facebook.com/cghow0/
â—ŹJoin FB Group – https://www.facebook.com/groups/cghow/
â—ŹAndroid App – http://bit.ly/2XUnhoR
Playlists-
â—ŹUnreal Engine Niagara Tutorials – http://bit.ly/2SmPEuT
â—ŹUnreal engine VFX Tutorials -http://bit.ly/2JNXyJZ
â—ŹUnity VFX Tutorials – http://bit.ly/2XNGlKz

Hi guys, I’m Asif Ali, and welcome to CGHOW. In today’s video, I’ll show you how to use depth of field with a translucent material in Niagara in Unreal Engine 5. This simple effect will teach you how to make particles look sharp when near the camera and blurry when far, thanks to depth of field. Let’s get started!

Before we begin, make sure to subscribe to my channel and hit the bell icon to receive notifications for all my new videos. Let’s dive in!

[Step 1: Setting Up the Scene]
To start, we’ll create a simple particle effect, and I’ll show you how depth of field is applied to translucent materials.

  1. First, create a new folder for your project and name it something like “ParticleEffects.”
  2. Inside the folder, create a new Level Sequence and open it.
  3. Drag the Level Sequencer into the scene, and enable autoplay so it plays automatically when the level starts. You can also enable the loop option if you want continuous playback.

[Step 2: Create Particle System]
Now, let’s create the particle system:

  1. Add a Niagara Particle System and choose a simple emitter like the Fountain or Grid emitter.
  2. Remove unnecessary modules such as velocity or mass, as we just need particles to spawn in a grid pattern.
  3. Set the particle size to 10, 10, and make sure the lifetime is set to infinite (no loop, just once).
  4. Increase the grid size to around 100×100 to have more particles in the scene.
  5. You can adjust the spacing between particles if needed, but I’ll leave it as it is for now.
  6. Drag the particle system into the viewport and take a look at how it looks.

[Step 3: Add Camera and Focus]
Next, let’s create a camera and see how depth of field works:

  1. Add a camera in the Level Sequence, and now we can see the particles through the camera view.
  2. Adjust the focus distance manually, and you’ll see the particles near the camera become sharp, while those farther away will get blurry—this is the depth of field at work.

[Step 4: Material Setup for Translucency]
Now, let’s create a translucent material for the particles:

  1. Create a new material (press M) and apply it to the particles.
  2. Open the material editor and connect Particle Color to the Base Color.
  3. Set the material to two-sided and transparent, and connect the opacity to make it translucent.
  4. Save the material, and apply it to the particles in your Niagara emitter.

Now, when you adjust the camera focus, you’ll see the particles become blurry, but the translucency effect is still not showing the desired depth of field effect. Let’s fix that!

[Step 5: Fix Translucent Material with Depth of Field]
To make depth of field work with translucent materials, we need to tweak a few settings:

  1. In the Niagara Particle System, go to the Particle Render settings.
  2. Under the Translucency Pass, change the setting from After DOF (Depth of Field) to Before DOF.
  3. This change will ensure that depth of field works correctly with translucent particles.

Now, you can see that the particles near the camera are sharp, while those far away are blurry, as expected.

[Step 6: Enhancing the Effect]
To make the effect even more interesting, we can add a few more tweaks:

  1. Set the Grid Size to 500×500 to create more particles and make the effect more dynamic.
  2. Add Curl Noise to create a random motion effect on the particles.
  3. Use Spring Force to make the particles move away from their original position but slowly return back, adding a natural bounce.

This combination will create a cool swirling effect with depth of field, where the particles move away but are still affected by the depth of field blur.

[Conclusion]
And that’s it! You now have a simple but powerful effect where your particles transition smoothly between sharp and blurry based on their distance from the camera. I hope this tutorial helps you understand how to use depth of field with translucent materials in Unreal Engine’s Niagara system.

I’ll be uploading the files for you to download and explore further. Thanks for watching, and remember: keep learning and keep creating. See you next time, bye!


Discover more from CGHOW | Ashif Ali

Subscribe to get the latest posts sent to your email.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from CGHOW | Ashif Ali

Subscribe now to keep reading and get access to the full archive.

Continue reading