Proposal: love.graphics.alpha()

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
Inny
Party member
Posts: 652
Joined: Fri Jan 30, 2009 3:41 am
Location: New York

Re: Proposal: love.graphics.alpha()

Post by Inny »

The love blend modes are pretty powerful, and you may want to experiment with them more.

This is a really handy tool for testing openGL blend modes: http://www.andersriggelsen.dk/glblendfunc.php
The Love blend modes are coded here: bitbucket link

Just as a side note, what you want can probably be accomplished by drawing front-to-back using the subtractive blend mode.
Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 4 guests