[PD] gem, shader and framebuffer
marius.schebella at gmail.com
Sat Dec 8 19:25:37 CET 2007
exactly the other way round. you have to set both explicitely to mode 0
see patch with added obects.
marius schebella wrote:
> you have to attach a mode 1 to the left texture.
> osx by default uses mode 0 (recangular)
> and then set the mode for the framebuffer and the texture to 1,
> or, change all sample2d to sample2dRect
> vade wrote:
>> Thank you Cyrille - id love for this to work, but alas;
>> Under OS X 10.5.1 with PD 0.40.3-extended 20071117 I only see the
>> square, no sphere:
>> Ill try playing with it to see what I can get.
>> Thanks a lot!
>> On Dec 8, 2007, at 9:50 AM, cyrille henry wrote:
>>> In the recent discution on this list regarding gem an shader, i read
>>> that shader could not be used with framebuffer.
>>> i did not realize when i read this (and i can't find it anymore on
>>> the archieve). in fact it is not true.
>>> shader has to be loaded before the framebuffer objet but it work.
>>> here is an exemple of how to use a shader and render on the
>>> framebuffer and then using the framebuffer as a texture send to an
>>> other shader.
>>> hope that help
>>> < shader_and_framebuffer
>>> PD-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Pd-list