lokust

Joined: 28 May 2006 Posts: 22
|
Posted: Wed Jun 14, 2006 12:18 pm Post subject: Texutre Matrix Problems |
|
|
I am trying to transform u,v texture coordinates using the texture matrix, however it seems to transform the vertices still and not the uv's. Maybe I am not setting the texture matrix properly?
I do this during intialization:
| Code: | | sceGuTexMapMode(GU_TEXTURE_MATRIX, 0, 0); |
And this before rendering:
| Code: |
ScePspFMatrix4 mat;
gumLoadIdentity(&mat);
sceGuSetMatrix(GU_MODEL,&mat);
sceGumTranslate(&pos);
gumLoadIdentity(&mat);
sceGuSetMatrix(GU_TEXTURE,&mat);
sceGumTranslate(&uvScroll);
|
Any ideas?[/code] |
|