Create a material that looks like a spark

Hi!

I’m using Unreal Engine 5.2.1.

Is there a way to make a material that looks like a spark?

I want to create a sphere that has a brightness like a spark. To give you an idea of what I want, it’s something like the stars in the background of this picture:

And it must be a material used on a static mesh, not an image set as a background. I want to know how to create a material that emits light like these stars.

I think I can use Niagara effects, but I’ve read that it could be very expensive.

Do you know how I can do it?

Thanks!

Niagara effects “can” be expensive but they are not by default :slight_smile: . You just need a simple star shape (Doesn’t need to be realistic you can just draw it in the paint ) texture and connect it to emissive input of a material. then you can multiply it by a color and use time node to make it blink as well .

Thanks for your answer.

What do you mean with “a simple star shape”?

Do you mean this?
Sin título

Thanks!

yes but it has to be black on outside and white on inside ! and no outline

Also you can try using radial gradient node instead of this star image and connect that to emissive . see which one do your prefer ( if the light is not enough you can multiply it by a number using multiply node .)

Thanks. This sounds strange (because I have no idea about how to do it), but I’ll do it my best.

I’ve been thinking about your solution and I don’t know why I need a star shape.

I’ve used that image because it’s the best example to show what I’m looking for: a bright dot like a spark. I don’t need a dot with the shape of a star.

Thanks!