[PD] [GEM-dev] gl stack underflow

Matteo Sisti Sette matteosistisette at gmail.com
Sat Jan 2 17:17:25 CET 2010


IOhannes m zmölnig escribió:
> 
> use rectangle textures ([rectangle 1( to [pix_texture]).
> 

Do I have to set it to all the [pix_texture] objects that "create" the 
textures, or only to the one using the shader?

That is, having

[gemhead]
|
(...something...)
|
| [texunit 1(
|/
[pix_texture]  //let's call it texture 1

[gemhead]
|
(...something...)
|
| [texunit 2(
|/
[pix_texture]  //let's call it texture 2


[gemhead]
|
(... vertex&fragment stuff)
|
[glsl_program]
|
[pix_texture] //be it "*"
|
[square 4]


Do I send [rectangle 1( to textures 1 and 2 or to "*"? Or both?


Thanks
m.


-- 
Matteo Sisti Sette
matteosistisette at gmail.com
http://www.matteosistisette.com




More information about the Pd-list mailing list