Jump to content
  • Advertisement
Sign in to follow this  
Eistoeter

Texture problem with texture larger 256

This topic is 3718 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!