Multi Selection Static Switch
I have a material that i'm using on multiple objects and for the sake of efficiency i'm using a 4 channel texture to supply masks for different objects that use this same texture so that i can get decent UVW density without having a huge texture. in order to swap between the channels i have 4 nested static switch parameters. this is ugly and somewhat annoying to use.
is there a multi input (ideally some form of number roller) switch that i can use to select the channel or do is my current method the best?
There is a component mask switch parameter. It is exactly suited for this purpose.
answered Jul 23 '17 at 03:43 PM
My solution to this problem was to use if nodes. You can chain together as many as you need to create as many inputs as you need. So for example, in my blueprint all I do is set the float value of my scalar parameter with an integer. The parameter is then compared to a constant to determine which input on the if node to use.
answered Dec 27 '18 at 02:17 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here