How would I make a galaxy texture similar to this

I would like to make a galaxy texture similar to how the galaxy wrap works in Fortnite, it looks like there is a galaxy INSIDE the weapon and it looks cool and I would like to figure out how to implement this system for any texture

If you have a galaxy texture you can add this texture to a material and apply this material to your model.

i want it too look like how the texture is done in Fortnite, look it up because it has a very specific look to it that i want to replicate, it is def not just a flat texture