Occlusion Query in UE5 Niagara Tutorial

Occlusion Query in UE5 Niagara

This tutorial shows how to use an occlusion query to control particle visibility behind objects in Unreal Engine 5 Niagara, and the project files are available to download.

Use it for lens flares, glows and sun effects that should hide behind walls, and see the related posts below for more Niagara techniques.

More Niagara techniques: Particles on Sphere Interaction · Spawn Particles Near the Player · GPU Particles FX in UE5 Niagara

Download – https://www.patreon.com/posts/73287399
Patreon- https://www.patreon.com/Ashif
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 – paypal.me/9953280644
Occlusion Query in UE5 Niagara Tutorial | Download Files

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

●Visit – https://cghow.com/
Unreal Engine Marketplace – https://bit.ly/3aojvAa
Artstation Store – https://www.artstation.com/ashif/store
Gumroad – https://cghow.gumroad.com/

How to Use Occlusion Query in Niagara (UE5)

In this video tutorial, we explore the Occlusion Query technique in Unreal Engine 5’s Niagara system to achieve better visibility control for particle effects. This method is ideal for creating realistic visual effects while maintaining optimal performance.

Key Points:

  • Creating the Emitter: We start by creating a new Niagara Emitter and adding a Sprite Renderer with an additive material. The material is adjusted to be translucent for better visibility.
  • Adding Particles: We add a sphere with 200 units and set the particle velocity and gravity to zero. The particle count is increased to 2000 for better results. GPU simulation is enabled for optimal performance.
  • Color Adjustment: The particles are assigned two colors: red and green. A color change is applied based on their proximity to the surface.
  • Using the Occlusion Query: The occlusion query node is added to the effect. It checks if a particle is near a surface and assigns it a visibility fraction. If the particle is near the surface, it changes color to green.
  • Visibility Control: The visibility fraction is clamped to ensure there are no negative values. This helps control the visibility of the particles on the surface.
  • Animation and Effects: Additional effects, such as adding curl noise to the particles, enhance the overall look. Transparent particles are killed to avoid clutter.

By the end of this tutorial, you will have a clear understanding of how to implement occlusion queries in your Niagara effects and make your particle systems more efficient and visually appealing.

Ashif Ali

I am Ashif Ali, Real-Time VFX Artist, I make Unreal Engine Niagara Tutorial on this channel. I've made it my mission to share my knowledge and expertise with the world through my YouTube channel. So why not join me on this exciting adventure? Follow me on my social links, subscribe to my channel, and support my growth as a creator. Together, we can create amazing things and take our skills to new heights. And who knows, you might even get access to some of my exclusive files for free!

View Comments

Recent Posts

Energy Drip VFX in Unreal Engine 5 Niagara Tutorial Tutorial

Learn to create a stylized energy drip VFX in Unreal Engine 5 Niagara, with glowing…

6 days ago

Levelup in 10 Minutes in Unreal Engine 5 Niagara Tutorial

Learn to create a game-ready level up VFX in Unreal Engine 5 Niagara, with expanding…

7 days ago

Sword Charge in Unreal Engine 5 Niagara Tutorial

Make a glowing sword charge in Unreal Engine 5 Niagara. This tutorial covers masking a…

1 week ago

AOE Aura in Unreal Engine 5 Niagara

A short showcase of a game-ready AOE aura built in Unreal Engine 5 Niagara. See…

1 week ago

Abyssal Rupture VFX Showcase in Unreal Engine 5 Niagara

See the Abyssal Rupture effect from Unreal Engine 5 Niagara in a real-time scene. This…

2 weeks ago

Abyss Fracture FX in Unreal Engine 5 Niagara

A decal-based ground fracture effect made in Unreal Engine 5 Niagara. See it project across…

2 weeks ago