Back to Trending
RepositoryC++
Shadertech

Shadertech/UE5NiagaraComputeShaderIntegration

UE5 Niagara Compute Shader Integration Example (Boids)

73stars
13forks
0issues
2views

Niagara Compute Shader Integration

Overview

This project is an Unreal Engine 5 plugin that demonstrates compute shader integration with the Niagara particle system. There are several different methods to achieve this, each has its own module. I have provided an easy-to-configure boids example for each method. I hope that this repo is a good place to start playing with UE5 graph builder.

Checkout the repo's product page for more information

Temaran has produced an awesome resource to learn how to write compute shaders and I suggest checking it out if you haven't already UnrealEngineShaderPluginDemo

boidsVFX

Modules

1. ComputeRPExample

  • Overview:
    • Demonstrates the use of Graph Builder to setup and run compute shaders through a boids example
  • Examples:
    • Example1: Structured Buffer -> Niagara
    • Example2: Structured Buffer -> Render Target -> Niagara

2. ComputeRPLegacyExample

  • Overview:
    • Demonstrates the use of manual management over the compute pipeline to setup and run compute shaders through a boids example
  • Examples:
    • Example1: Structured Buffer -> Niagara

3. ComputeRPSUBExample

  • Overview:
    • Demonstrates how to extend ComputeRPExample to pass shader data into materials by hooking into the scene buffer
  • Examples:
    • Example1: Structured Buffer -> Material

4. NiagaraExample

  • Overview:
    • A boids system implemented entirely within Niagara without compute shaders and using the Particle Attribute Reader instead.

5. ComputeCore

  • Overview:
    • A shared module that provides default settings and utilities, ensuring consistency and efficiency across all modules.

Prerequisites

  • Unreal Engine 5.8.x
  • C++ Project for generating binaries and intermediate folders
  • Basic understanding of Unreal Engine and its plugin system.

Usage

To integrate this plugin into your Unreal Engine project:

  1. Clone the repository to your local machine.
  2. Checkout the branch for your engine version
  3. Copy the plugin folder into the Plugins directory of your Unreal Engine project.
  4. Rebuild project files from your .uproject
  5. Enable the plugin within your project settings via the Plugins menu.
  6. Open Maps/M_TestLab (persistent map)
  7. Toggle examples by activating/deactivating sub-levels from the persistent level. You can launch each map individually, or mark them all as "always loaded" to run them all together.

subLevels

  1. Go ahead and configure the relevant module found inside the ShaderTech category of the Project Settings. The "Boid Dynamic Parameters" values can be modified in runtime. Enjoy!

ComputeRPExampleSettings ComputeRPLegacyExampleSettings ComputeRPSUBExampleSettings NiagaraExampleSettings

Contributing

Contributions to this project are welcome. Please follow the standard GitHub workflow for submitting pull requests.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Release Notes

v0.1.5

  • Improvement | Mac OS & Linux Support
  • Supports: UE 5.8.x
  • Supports: UE 5.7.x
  • Supports: UE 5.6.x
  • Supports: UE 5.5.x

v0.1.4

  • Improvement | Const-correctness across codebase
  • Supports: UE 5.7.x
  • Supports: UE 5.6.x
  • Supports: UE 5.5.x

v0.1.3

  • Improvement | General Refactor
  • Improvement | Fab marketplace prep
  • Supports: UE 5.6.x
  • Supports: UE 5.5.x

v0.1.2

  • Bug FIx | Correctly dispose of buffers
  • Feature | Structured Buffer -> Material
  • Supports: UE 5.5.x (13/11/2024)
  • Supports: UE 5.4.x (01/09/2024)

v0.1.1

  • Improvement | General Refactor
  • Supports: UE 5.3.x

v0.1.0

  • The beginning of Time.
  • Supports: UE 5.3.x

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
sideeffects/HoudiniEngineForUnreal

Houdini Engine Plugin for Unreal Engine.

1.6k
Nov 25, 2026
RepositoryC++
lucoiso/UEAzSpeech

This plugin integrates Azure Speech Cognitive Services in Unreal Engine.

215
May 27, 2024
RepositoryC++
kwstasg/WAC

UE5 Visualization Plugin - Windows Audio Capture (WAC) is an Unreal Engine 5 plugin that captures live audio from the windows default audio device and analyse it to frequency values.

171
Aug 5, 2024
RepositoryC++
StudioSyndiCatCaius/OmegaGameFramework

Easy expansive gameplay framework plugin for Unreal Engine. (Abilities, Attributes, Modular Systems, Async Events, and more)

163
Aug 10, 2026
RepositoryC++
LouisRaverdy/DiscordRPC

A Unreal Engine plugin for making presence, invite, join and spectating with Discord.

156
Dec 3, 2023
RepositoryC++
tomlooman/ActionRoguelike

Project Orion - Co-op Action Roguelike in Unreal Engine C++

4.7k
Dec 1, 2026
RepositoryC++
pafuhana1213/KawaiiPhysics

KawaiiPhysics : Simple Bone Physics for UnrealEngine 4 & 5

3.4k
Nov 30, 2026
RepositoryC++
UE4SS-RE/RE-UE4SS

Injectable LUA scripting system, SDK generator, live property editor and other dumping utilities for UE4/5 games

3.2k
Nov 28, 2026
RepositoryC++
getnamo/SocketIOClient-Unreal

Socket.IO client plugin for the Unreal Engine.

979
Oct 29, 2026