[SOLVED] How to completely color an image?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 7
- Joined: Thu Dec 01, 2016 2:45 am
[SOLVED] How to completely color an image?
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:
Last edited by slimefriend on Tue Feb 07, 2017 2:18 am, edited 1 time in total.
- Positive07
- Party member
- Posts: 1015
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: How to completely color an image?
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
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
-
- Prole
- Posts: 7
- Joined: Thu Dec 01, 2016 2:45 am
Re: How to completely color an image?
This totally worked! And was very easy! I should really look more into shaders. Anyway, thanks for your help!
Who is online
Users browsing this forum: No registered users and 8 guests