Hello,
I'm searching to know (if it's possible) how draw multiple form with semi-transparent color without additive at all.
.
I tried with setColorMode() and setBlendMode() but without success as you can see at this sample :
Somebody has a idea ?
How can I do a "mask" or blendmode union ?
How can I do a "mask" or blendmode union ?
My projects current projects : dragoon-framework (includes lua-newmodule, lua-provide, lovemodular, , classcommons2, and more ...)
Re: How can I do a "mask" or blendmode union ?
I also totally want that, so if someone knows how to do it, I'll include it in the next version.
Re: How can I do a "mask" or blendmode union ?
You could draw two circles on a render target without additive mode, and then draw a square with that texture and additive mode on the backbuffer ...
(I think a render target is called a framebuffer in opengl)
(I think a render target is called a framebuffer in opengl)
Re: How can I do a "mask" or blendmode union ?
Clever, but will have to wait a while for that. 8-)
Re: How can I do a "mask" or blendmode union ?
Stencil buffers could also be used for that: every render operation would write into a stencil buffer, and new fragments only get rendered where the stencil buffer has not been set yet.
Who is online
Users browsing this forum: No registered users and 10 guests