Change color in material with many textures
So I have a texture with 14 buttons on it and I need it so if I click button 1 it will turn green, so I have one texture for each button(everyone of these textures are in one material connected to alot of lerps). As you can see in the picture(Blueprint part) level 1 event was just for troubleshooting and level 2 event was my original idea
asked May 15 '15 at 05:34 PM in Blueprint Scripting
Let's simplify, and move most everything into the shader!
On the far left of the material window, you can see two variables. Column and row. It should be pretty self explanatory, but you simply put in a 0 in column to keep it in the left column, and then pick a row by number. In this image, you can see I have column zero, row 1 (this is 0 based, you could always fix it to start at 1). There is also a parameter for brightness, and color as well. This should help you simplify things greatly!
Here is the texture I used. Notice I put the "glow mask" in the red channel, and kept the circles themselves in the green channel. This saves us texture memory by packing the information into one texture.
I hope this helps!
answered May 15 '15 at 06:17 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here