[PD] [GEM-dev] Blending mode directly on objects, not pixes?
Matteo Sisti Sette
matteosistisette at gmail.com
Sat Nov 28 18:08:52 CET 2009
Btw I am specially interested in add and multiply, and maybe difference
and subtraction
Max escribió:
> make the rectangle transparent with the alpha channel
>
> [alpha]
>
> &
>
> [colorRGB] <- use last inlet to control the alpha 0...1
>
>
> Am 28.11.2009 um 17:53 schrieb Matteo Sisti Sette:
>
>> 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.
>>
>>
>> --
>> Matteo Sisti Sette
>> matteosistisette at gmail.com
>> http://www.matteosistisette.com
>>
>> _______________________________________________
>> GEM-dev mailing list
>> GEM-dev at iem.at
>> http://lists.puredata.info/listinfo/gem-dev
>
--
Matteo Sisti Sette
matteosistisette at gmail.com
http://www.matteosistisette.com
More information about the Pd-list
mailing list