palettes

Started by
4 comments, last by die113 18 years, 11 months ago
hi, i was looking at http://www.delphi3d.net/ opengl hardware registry and found out that practically no ati cards support palette extensions. i would need paletted textures and modify palette for those textures and this should work on most major card vendors.

Projects: Top Down City: http://mathpudding.com/

Advertisement
Actually, most vendors don't support this. It's possible to use shaders for this if you're interested.
Sig: http://glhlib.sourceforge.net
an open source GLU replacement library. Much more modern than GLU.
float matrix[16], inverse_matrix[16];
glhLoadIdentityf2(matrix);
glhTranslatef2(matrix, 0.0, 0.0, 5.0);
glhRotateAboutXf2(matrix, angleInRadians);
glhScalef2(matrix, 1.0, 1.0, -1.0);
glhQuickInvertMatrixf2(matrix, inverse_matrix);
glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);
Indeed, the lack of support is something which will continue as well, NV only supported it on the Riva128, TNT, TNT2 and GGFX (if memory serves) and dropped it again with the GF6x series, never to have it return.
I had that problem and got it working using shaders... check this post =]
The weird thing is that I just wrote it this morning and hadn´t seen your question yet õô
alright, to be honest all i need to do is render several textures in different
hue/saturation/lightness, is that easier than palettizing?

Projects: Top Down City: http://mathpudding.com/

Hm that didn't work? You could try doing some crazy blendings... (check this stuff here) Hope that helps!
Tell me if you get anything =]

This topic is closed to new replies.

Advertisement