[PD] problem with glsl shaders and texunits

IOhannes m zmölnig zmoelnig at iem.at
Thu Mar 4 16:52:53 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

cyrille henry wrote:
> after a very quick look, i noticied that it work if you connect the
> right output of the framebuffer to the right input of the 2nd texture,
> in order to set the coordinate.
> 
> i thought that Iohannes had recently made some change in order to
> improve this, but this patch is not working better than before.

yea, still everything is a bit in flux here, so i reverted the changes
that introduced the automatic handling here. it seems like they need
some more thinking about how and when to reset the texture-matrices.
so this basically means, it hasn't become much better than it was some
months ago. you should still premultiply the texturematrices in the
shaders though, because i'm pretty sure they will come at some point in
the near future.

mdgasr
IOhannes


> maybe because the texture is use not the texunit 0???
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkuP11QACgkQkX2Xpv6ydvStTACggVFLJLiefdu34C7wqM26CgO3
r2IAoNaOmzZe5zXUUvH3E4yVYMYJ8ZFZ
=nHDL
-----END PGP SIGNATURE-----




More information about the Pd-list mailing list