Help with Decal Renderer component on Niagara

Hi this is the second time I come with the same problem, I made this set up on niagara for getting the decals spawn as Scene component renderer, but now I am using mutiple component renderer for different decals, I want to know if anyone knows a better way to get different decals without having to use different renderers.

1 Like

I don’t think there is a native way at the moment unfortunately. As we cannot bind to the material property to change it.

What you can do is, create your own Blueprint component that inherrits from DecalComponent, then use that one inside Niagara.
Then inside this custom component, add all your decal materials into an array. And on Construction/BeginPlay set your decal material depending on a custom integer variable.
Make the variable public and it should appear in Niagara and you should be able to bind your ‘Visibility Tag’ to it.
Haven’t tried this, but in theory it should work.

2 Likes

Great answer I am quite new to blueprints do you know where I can get information on how to create that type of Blueprint?