Archived

This topic is now archived and is closed to further replies.

titan2782

TGA textures with MS3D models

Recommended Posts

James Trotter    432
The .MS3D model format stores a texture file name with every material... Load the TGA from the texture file, like you would load any other TGA...

And to use mipmaps you have to set the texture filter to GL_LINEAR_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_NEAREST, GL_NEAREST_MIPMAP_LINEAR, GL_NEAREST_MIPMAP_NEAREST...
And you need to use the gluBuil2DMipmaps function, instead of glTexImage...

Share this post


Link to post
Share on other sites