[GEM-dev] svn update break rectangular texture with shader
Jack
jack at rybn.org
Wed Jan 20 14:56:38 CET 2010
I have never used (yet !) gl_TextureMatrix[0] in my shaders :)
Always used something like this :
Vertex :
texcoord1 = gl_MultiTexCoord0.st;
Fragment :
vec4 color = texture2DRect(mytextA, texcoord1);
So i should use now :
vec4 color = texture2DRect(mytextA, gl_TextureMatrix[0] * texcoord1); ?
++
Jack
Le mercredi 20 janvier 2010 à 14:18 +0100, IOhannes m zmoelnig a écrit :
> cyrille henry wrote:
> > hello,
> >
> > if this is the best solution for the future of Gem, i'm ok to manually
> > check all my shaders and adapt them like you describe.
>
> cool, if you are open to such a change :-)
>
> anyhow, i would also be interested in the opinion of others who have
> used shaders a lot (e.g. marius)
>
> fgmasdr
> IOhannes
>
>
> > i'll have a look next week...
> > c
> >
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev
More information about the GEM-dev
mailing list