Sprite Based Animated Butterflies in UE 5.1 Niagara Tutorial

Sprite Based Animated Butterflies in UE 5.1 Niagara Tutorial | Download Files

Download – https://www.patreon.com/posts/76423234
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
Sprite Based Animated Butterflies in UE 5.1 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/

Video Introduction:

Hi guys, I’m Ashif Ali, and you’re watching CGHOW. Today, I created a butterfly effect using Sprites in Niagara. The special part is that everything, including the animation, is done inside Niagara using alignment and facing in the Sprite system, without relying on a custom material for the animation. Let’s dive into this tutorial.


Step-by-Step Breakdown:

  1. Material Setup:
    • Create Butterfly Material: Start by creating a material (named Butterfly).
    • Use Arrow Texture: Import the arrow texture and multiply it with the particle color.
    • Texture Adjustment: Adjust the texture’s color and invert the green channel to form the desired butterfly shape. Rotate the texture for correct orientation.
  2. Niagara Setup:
    • Create Niagara Emitter: Set up a single particle emitter with a larger size and apply the arrow material to it.
    • Second Wing: Duplicate the first particle and apply a different color to simulate the second wing (e.g., green for the second wing).
    • Align Wings: Use custom alignment to orient both wings correctly, ensuring one wing faces the camera while the other aligns with the sprite’s facing direction.
  3. Animation Setup:
    • Flapping Animation: To animate the butterfly flapping its wings, use a sine wave for the rotation of the wings.
    • Use Sine Wave: Adjust the sine wave value for flap speed.
    • Apply Different Speeds: Randomize the flap speed to make the animation more natural.
  4. Velocity and Movement:
    • Add Velocity: To simulate butterfly movement, use the velocity line and link it to the facing angle.
    • Apply Curl Noise: Add curl noise to the velocity to make the butterfly fly around more randomly.
  5. Texture Adjustment for Butterfly:
    • Replace Arrow with Butterfly Texture: Swap out the arrow texture for a butterfly texture and adjust the UV to display only half the butterfly at a time.
    • Fix Facing Issue: Invert the UV scale for one of the wings to ensure both wings face the correct direction.
  6. Final Tweaks:
    • Randomize Speed and Colors: Add a random speed value to each butterfly to vary their flapping speed, and randomize the color if desired.
    • Finalize Butterfly Behavior: Increase the number of particles, adjust speeds, and finalize the flapping animation.

Conclusion:

So that’s how you can animate a butterfly effect using Sprites in Niagara. Thanks for watching, and keep learning. Bye!


Key Takeaways:

  • Used Sprite facing and alignment for butterfly wings.
  • No custom material for animation; the whole effect is done within Niagara.
  • Randomized butterfly speeds and animations for a natural feel.
  • Texture manipulation ensures the butterfly flaps realistically.

Discover more from CGHOW

Subscribe to get the latest posts sent to your email.

Leave a Reply

Your email address will not be published. Required fields are marked *

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