I’ve spent way too much time now trying to hack the textured font shader into supporting color tint and alpha. I can’t seem to do it with my limited knowledge of shader programming. Anyone know how to do it - it seems like it shouldn’t be very hard…if you know what you’re doing (unlike yours truly).
I’m amazed. Trial and error saves the day.
I switched around the lines in the first pass - didn’t work. Commented out the first part - voila. It now works as I hoped.
Hey there. I’m interested in doing the same thing as you. I’ve copied your shader script over and I get the black text but not the ability to change alpha. Can you tell me exactly how to implement this?
Hey Foxis - is that the final shader code you ended with? Because I cannot get even that to work. I need to change the alpha on the fly and set the color, so this shader is very interesting to me (I need it) and was wondering what progress you made?