[PD] [GEM-dev] Blending mode directly on objects, not pixes?
Jack
jack at rybn.org
Sat Nov 28 18:42:10 CET 2009
Is it what you are looking for ?
++
Jack
Le samedi 28 novembre 2009 à 17:53 +0100, Matteo Sisti Sette a écrit :
> Hi,
>
> Now, I don't know if this is possible at all.
>
> Suppose I have a [rectangle] (or whatever primitive indeed) with a
> texture, and something behind the rectangle.
> Is it possible to have the rectangle "blend" with the background with
> some blending mode (such as add, multiply, etc)?
> (without having to render all the rest of the scene except the rectangle
> into a texture via gemframebuffer, and then blending the two textures
> with pix_add and friends)???
>
> Isn't it a matter of shaders? I guess it could be achieved using openGL
> functions... but is there a "simple" way?
>
> Thanks
> m.
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adding.pd
Type: text/x-puredata
Size: 2181 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20091128/0fbebb4a/attachment.bin>
More information about the Pd-list
mailing list