• Advertisement
Sign in to follow this  

Should I use LWJGL 2 OR LWJGL 3?

This topic is 698 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

Advertisement

It depends on a couple things.

 

1st. LWJGL3 is based on the GLFW library, so any documentation for GLFW will usually hold true with LWJGL3

2nd. LWJGL3 is much newer relatively speaking, consequentially, you're far more likely to find more tutorial resources on 2 than 3.

3rd. As they both utilize OpenGL for rendering, there really isn't much difference between the two aside from how they handle the window context.

Edited by GutenTag

Share this post


Link to post
Share on other sites

LWJGL 3. All the nice stuff is getting developed there (GLFW for window/input management, new bindings like nanovg, stb, jemalloc, vulkan, etc).

 

LWJGL 2 has an awful windowing/input api.

 

That being said, 90% the time you'll be dealing with OpenGL, not the paticulars of LWJGL, and you better get used to find OpenGL resources in other languages (mostly C++) and then translating those concepts to Java.

Share this post


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

  • Advertisement