Lwjgl or opengl double pixels

Posted by Philippe Paré on Game Development See other posts from Game Development or by Philippe Paré
Published on 2013-11-10T01:57:03Z Indexed on 2013/11/10 4:15 UTC
Read the original article Hit count: 326

Filed under:
|
|

I'm working in java with LWJGL and trying to double all my pixels. I'm trying to draw in an area of 800x450 and then stretch all the frame image to the complete 1600x900 pixels without them getting blured. I can't figure out how to do that in java, everything I find is in c++... A hint would be great!

Thanks a lot.

EDIT : I've tried drawing to a texture created in opengl by setting it to the framebuffer, but I can't find a way to use glGenTextures() in java... so this is not working... also I though about using a shader but I would not be able to draw only in the smaller region...

© Game Development or respective owner

Related posts about opengl

Related posts about java