[GEM-dev] 2textures + gemframebuffer

marius schebella marius.schebella at gmail.com
Sun Mar 30 21:58:05 CEST 2008


actually, the 06. patch might be more complex, but it is not doing what 
I need. I really need two textures, both coming from other framebuffers. 
and all my attempts with dummy images failed.
can you have a look at my patch? I hope the zip does not get caught in 
the spam.
thank you!
marius.


cyrille henry wrote:
> 
> 
> marius schebella a écrit :
>> cyrille henry wrote:
>>
>>> look at example 06 in 10.glsl gem example folder.
>>>
>>> (a patch is better than any explanation...)
>>
>> this patch still uses one texture that comes directly from an image 
>> (gemhead 17...). In my case I wanted to use both inputs from a 
>> gemframebuffer.
> that's not a problem.
> just remove the part that load texture 2, and replace it by a copy of 
> the part that use a glsl / framebuffer (changing texunit 3 to texunit 2).
> 
> here is the result.
> (shader are not relevant, but it work here)
> moreover, this patch is more complex than what you need, as shader 
> output is used for next frame as shader input to create a feedback loop, 
> but it's easy to remove this.
> 
> if you still have problem, i certainly have to create a 07 example...
> 
> cyrille
> 
> 
>> marius.
>>
>>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2tex+gfb2.zip
Type: application/zip
Size: 2703 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20080330/07f19635/attachment.zip>


More information about the GEM-dev mailing list