Page 1 of 1

[SOLVED] How to completely color an image?

Posted: Tue Feb 07, 2017 1:23 am
by slimefriend
Apologies if this has been explained before somewhere else, but is there a way in code to completely color something? (not just tint it). Like this:
whiteimg.png
whiteimg.png (789 Bytes) Viewed 1911 times

Re: How to completely color an image?

Posted: Tue Feb 07, 2017 1:57 am
by Positive07
Check this really old thread, basically [wiki]BlendMode[/wiki]s wont help you, I actually got it to work with BlendModes by drawing the same thing MANY times but that is not nice at all, instead you should use shaders, and the shader that slime posted in that thread should get you started

Re: How to completely color an image?

Posted: Tue Feb 07, 2017 2:15 am
by slimefriend
This totally worked! And was very easy! I should really look more into shaders. Anyway, thanks for your help!