Positional array feeding into a material
So I have seen this question asked before but there has never been a solution and the last time I could see it posted was from over a year ago.
I want to take an array of positional data from actors inside my level and feed them into a material parameter, dynamically in real time. I want to then take this positional information and use it mask certain areas of my level (They are all using the same material) I can achieve this pretty easily with one position and possibly scale it up manually but without feeding in an array it will get pretty tedious and eventually unworkable.
I have seen that the engine does not support arrays for materials at them moment but if there is even a way I can use C++ that will too or work around that would do.
asked Nov 15 '16 at 09:42 PM in Blueprint Scripting
You should consider feeding material a texture instead of array. Think about how you can store the data you need to pass through in a texture(positions, that are to be masked, in your case) and use something like render target to store it.
answered Nov 16 '16 at 12:37 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here