Particle Attribute Reader | UE5 Niagara #ScratchPad Module #10

Download – https://www.patreon.com/posts/67757514
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
Particle Attribute Reader | UE5 Niagara #ScratchPad Module #10

#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 you’re watching CGHOW! Today, we’re diving into a really exciting topic – Scratch Pads! This is the 10th video in our series, and we’ll be learning how to use the Particle Attribute Reader.

In this example, we’ll have glowing particles that follow the source particle, inheriting its position, color, and size. Additionally, we have green particles following the red particles’ positions, with some grouping together. These are examples from Epic Games that you can download and explore. But don’t worry, we’ll also create these effects from scratch.

So, let’s get started! But first, remember to subscribe to my YouTube channel and hit the bell icon so you never miss a new video. Now, let’s begin!


Creating a Niagara Emitter:

First, let’s create a Niagara system. I’ll use the fountain effect template. You can rename it whatever you like. Now, duplicate this emitter (Ctrl + D) to create two separate emitters. One will be the source, and the other will be the follower.

The idea is that the follower emitter will inherit properties from the source, such as position, color, size, and more. Let’s tweak the source particle properties, reducing the spawn rate to 5 particles per second and changing its color to red or something like a reddish hue. Now, let’s turn the follower particles green.


Particle Attribute Reader Setup:

We’re going to use the Scratch Pad in the follower emitter to read the source’s particle properties. Here’s how to set it up:

  1. Create a Scratch Pad in the follower emitter.
  2. Add a Particle Attribute Reader node to read the particle properties from the source emitter.
  3. Specify the property you want to access – in this case, the position of the source particles.

To do this, drag a node and choose from various options like position, mass, scale, etc. I’m going to use position and reference the first particle (index 0) of the source emitter. When I apply this, you’ll see the green particles following the position of the first red particle. Now all the green particles are using the same position, creating a trailing effect.


Customizing the Particles:

Now, let’s add more customization to the particles:

  1. Color Transfer: I’ll copy the color of the source particles to the followers. In the source, let’s use a random color for each particle. Then, in the follower, we can read the color from the source particle and apply it to the followers.
    • I’ll use Vector4 by Index to access the RGB values and apply the color to the followers. If the alpha is too bright, we can separate the RGB and alpha channels to fine-tune it.
  2. Size and Glow Effect: To create a glowing effect, I’ll adjust the size of the follower particles based on the source’s size.
    • We’ll multiply the follower’s size with a size multiplier parameter to scale the glow effect.

Advanced Example – Grouping Particles:

Let’s take it a step further. In this advanced setup, I’ll have groups of particles follow a single source particle.

  1. First, we’ll spawn a group of red particles in the source emitter.
  2. Then, in the follower emitter, we’ll have a large number of green particles. These green particles will be grouped around the source particles, following their positions.

To achieve this, I’ll use a random ID for each particle and group them. By setting a random integer for the maximum particle count, I can assign multiple follower particles to each source particle. These particles will spawn and follow the same source, creating a more dynamic effect.


Summary:

To wrap up, you’ve learned how to:

  • Use Scratch Pads to read and transfer particle attributes like position, color, and size.
  • Implement a glowing particle effect by copying properties from source particles.
  • Group follower particles around source particles for more complex effects.

I’ve also covered a per-particle ID setup, which lets us control how particles group around a source. If you’re interested, I have a more advanced tutorial on creating a float trail effect, which builds on these techniques.

Thanks for watching, and remember – keep learning! If you liked this tutorial, don’t forget to like, comment, and subscribe. I’ll see you in the next one. Bye!

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!

Recent Posts

Abyssal Rupture in Unreal Engine 5 Niagara

https://youtu.be/XFv0kxFyy7A Full Video - https://youtu.be/QTFPRWQVW00This is showcase video of a VFX tutorial i has already…

7 hours ago

UEFN VFX Tutorial | Make MUZZLE FLASH (UE6 Ready) 💥

https://youtu.be/vLZjeXr-wtI Full Tutorial - https://youtu.be/EMkUvMUTe80In this UEFN VFX tutorial, learn how to build an impactful,…

1 day ago

Shield Aura VFX in Unreal Engine 5 Niagara – Game-Ready Tutorial

https://youtu.be/LTwOZBko830 In this video, I showcase a completely revamped, cleaned-up, and optimized Shield Aura VFX…

5 days ago

Magical Aura VFX in Unreal Engine 5 Niagara – Remastered Tutorial

https://youtu.be/qL3cjAclffw In this video, I showcase an updated and optimized Magical Aura Effect created in…

6 days ago

Magical Aura Burst VFX in Unreal Engine 5 Niagara – Blueprint Setup

https://youtu.be/yhjWyNIQXYk In this video, I showcase an upgraded and remastered Magical Aura Burst Effect in…

1 week ago

UEFN VFX Tutorial | How to Create FALLING LEAVES (UE6 Ready) 🍃

https://youtu.be/hMT0gl0x80E Tutorial - https://youtu.be/bLbbt8cWQd0In this UEFN VFX tutorial, learn how to create a high-quality, Stylized…

2 weeks ago