texrotate problem with jit.gl.multiple
Hello,
I can't manage to use texrotate with jit.gl.multiple. Is there a way to use it?
Thanks in advance
what does this attribute do ? there is no doc in the ref
It allows to rotate the texture. I know this can be done with dinmap the matrix texture but I really want to save some ressources. I only see to use a shader as the last option...
you have to use @glparams tex_plane_s tex_plane_t for this:
that TexCoordMagic is some good stuff, i've used it before but not exactly sure where it even originated from. just saved it as a snippet.
in a way, the magic has always been with us
we have some new texture manipulation functionality coming to jit.gl.multiple very soon, but sadly rotation is not part of that feature. are you hoping to rotate textures of individual instances? easiest way to do that I think is to simply pack in the rotated texture and select that texture for that instance.