-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Matteo Sisti Sette wrote:
IOhannes m zmölnig escribió:
use rectangle textures ([rectangle 1( to [pix_texture]).
But the help patch for pix_texture says:
"Inlet 1: rectangle 0|1 : use rectangle-texturing when available (default=1)"
hmm, i think this is wrong. rectangle is enabled by default on osx, but not on the other platforms (cannot remember why now; but i guess it made some problems)
So sending [rectangle 1( to it should have no effect since it is the default value (if available; if not then I couldn't activate it).
see above. with rectangle textures your texcoords should be 0..width-1 and 0..height-1 (rather than 0,,1); don't ask me why; i think it's one of the more stupid decisions of the ARB.
Indeed with [pix_texture] I have no problem using non-power-of-two-size textures, the question is how to use them in a shader.....
you don't have problems because Gem tries to take care of everything. with shaders you somehow circumvent Gem's trickery, so it you have to manually take care.
fgmasdr IOhannes