Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7711047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:16:40+00:00 2026-06-01T01:16:40+00:00

I have a 16*16 texture, and when i draw it to the screen, It

  • 0

I have a 16*16 texture, and when i draw it to the screen, It seems to be zooming in (I think its called MipMapping) , but “smoothing out” the texture, whereas I just want the pixels to increase in size.

It’s kind of hard to explain, so I put up a picture that you can see:

img http://photoupload.org/images/94135450192227784004.png

As you can see, its trying to smooth it out, where i just want a bigger picture, looking something like this:

img2 http://photoupload.org/images/95943288748957761603.png

How do i fix this? Does it have something to do with me using Slick Util?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T01:16:41+00:00Added an answer on June 1, 2026 at 1:16 am

    The “zooming in” you are seeing is called magnification. To fix it, you need to set the MAG filter to GL_NEAREST, which does the effect you want:

    glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this game with some variety of textures. Whenever I draw a texture
I have been using NSRectFill to draw rectangles on the screen. I would like
I'm trying to draw on the screen pixel-by-pixel using XNA, but am having problems
Suppose I have an application that will draw 20 little UIImageViews on the screen.
Recently started with OpenGL, I have managed to draw a background image on screen
If I have a texture, is it then possible to generate a normal-map for
With WPF 3D, is it possible to have a texture with an alpha channel?
I have an OpenGL texture with transparent and opaque pixels (eg, texture contains a
This is hopefully a simple question: I have an OpenGL texture and would like
I have an OpenGL RGBA texture and I blit another RGBA texture onto it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.