Texture problem with texture larger 256

Started by
3 comments, last by Eistoeter 15 years, 9 months ago
Hi there. I have a problem with texture mapping. I have just a 2d quad that i want to map a texture onto. Everything works fine if the texture is less then 512x512 pixels. So if I have a quad with a size of 256 x 256 pixels where I map a texture with 256 x 256 pixels everyhting is just fine. But if I have a quad with a size 512 x 512 pixels where I map a texture with 512 x 512 pixels the rendering is very unsharp. How can I fix this?
Advertisement
are you using mipmapping?
[size="1"]
No I do not.
Use mipmapping. And adjust your filtering mode.
Thanks for your replies. I managed to solve the problem. The problem was that I used the method ilutGLTexImage, because I use DevIL to load images.

It solved the problem to instead do this by hand with glTexImage2D

This topic is closed to new replies.

Advertisement