Controlling Dynamic Niagara Material Parameter With Blueprint

So I found a more efficient way to do this! Pretty obvious, but use a “Particle Color” node inside the material instead of a Dynamic Parameter node. This will free up those 3 parameters for use else where. Next create a new “Color” module underneath “Particle Spawn” in Niagara particle system. (note that there is already a Color module under “Particle Update”, but the beam will remain white unless it is recreated in particle spawn.) The first time I tried this my beam went black, deleting my color module and trying again fixed this.

Next make a linear color parameter inside your “User” parameters, I named mine “User.BeamColor” and plug it into the new color module.

280060-userbeamcolor.jpg

Now in your blueprint instead of three Niagara floats, create a Niagara Linear Color variable, plug your blueprint linear color variable into it as well as the correct variable name (User.BeamColor for me) and you should now see the correct color!

1 Like