

Download – https://www.patreon.com/posts/58929787
Floating Objects on Water in UE4 Niagara Tutorial | Download Files
Hi, guys today I have created this simple setup of the water body and floating objects on it in ue4 Niagara. it tutorial is from scratch you can make you r on along with this video.
Floating Objects on Water VFX in UE4 Niagara
This tutorial shows how to make objects float and bob on a water surface using Unreal Engine 4 Niagara, and the project files are available to download.
Use it for rivers, lakes, flood scenes and cinematics, and see the related posts below for more water effects.
More water effects: Water Waves Material · Clouds in Niagara · Foot Step Dust
Step-by-Step Tutorial:
- Clarification on the Water Body: First, let me clarify that this water is not the default plugin water. It’s just a plane with a custom material, and the particles are behaving as if they are floating on this mesh.
- Setting Up the Niagara System: In my project, I’ve organized it into layers:
- First, I have floating objects.
- Second, there’s a reflection plane with vertex distortion.
- Third, there’s a water tank fill effect.
- Creating the Water Material:
- First, I’ll create a material for the water. I’ll use a high-poly mesh for the plane and an HDRI image from the starter content for reflection.
- I’ll connect the reflection vector to the emissive channel and adjust its material settings, such as metallic, specular, and opacity, to get a reflective water effect.
- The base color will be a bluish shade, and I’ll use a noise texture to distort the mesh for the water’s surface effect.
- Adding Distortion to the Water:
- I’ll pan the noise texture, multiply it by the Z channel, and apply a value to distort the mesh.
- I’ll also create a border effect using texture coordinates, adjusting the mask, and blending it with noise textures to get realistic edges on the water’s surface.
- Setting Up the Particle System for Floating Objects:
- Next, I’ll duplicate the Niagara emitter and add various 3D meshes like a cone, cube, sphere, and torus.
- I’ll randomize the mesh appearance by using the mesh index and adjusting particle positions for a dynamic look.
- Gravity will be applied to make the particles fall, and the spring force module will be used to make the particles float on the water when they touch the surface.
- Fine-Tuning the Spring Force:
- I’ll adjust the spring force to work only when the particles touch the water, and I’ll fine-tune the strength and behavior of the spring force to get a smooth floating effect.
- Adding Material to the Particles:
- I’ll apply a simple material to the floating particles, randomize their colors, and add emissive effects to create the interaction with the water’s surface.
- The particle size and position will be adjusted, and a slight upward adjustment will be made to simulate the floating behavior.
- Final Touches:
- For the water edges, I’ll enhance the emissive effect to create a glowing border where the particles interact with the water.
Conclusion:
And that’s it! You now know how to create floating objects on a water body using Unreal Engine’s Niagara system. This effect can be used in various scenarios, such as water effects in games or cinematic sequences.
Frequently asked questions
Does this UE4 Niagara setup use the default Water plugin?
No, this tutorial uses a custom high-poly plane mesh with a custom reflective water material distorted by panning noise textures rather than Unreal Engine’s default water body plugin.
How do the objects float and bob on the water surface in Niagara?
The Niagara emitter spawns randomized 3D meshes (such as cones, cubes, spheres, and toruses) with gravity applied and uses a spring force module tuned to engage when particles reach the water surface, producing a smooth floating motion.
How are the water surface reflections and glowing borders created?
The water material samples an HDRI image from Starter Content routed through a reflection vector into the emissive channel, applies panned noise distortion along the Z channel, and blends texture coordinate masks with noise for glowing surface edges.


Leave a Reply