Lightweight Java wrapper for many common OpenGL functions.
- Easy to integrate in any LWJGL3 project
- ThinGL reverts all OpenGL states to the previous state after rendering
- Confirmed to work in Minecraft and Cosmic Reach
- Uses modern OpenGL (OpenGL 4.5)
- Builtin shaders
- Simple color and texture shaders
- Variable width lines
- Post-processing, such as blur or object outlining
- Text rendering
- TrueType font support
- Bitmap and SDF text rendering
- Powerful rendering abstraction
- Draw call batching
- Immediate mode rendering
- Retained mode rendering
- Instancing support
- Multidraw support
- Wrapper classes for OpenGL objects and functions
- Pretty fast (Built with performance in mind without sacrificing usability and readability)
- And much more...
To use ThinGL with Gradle/Maven you can get it from Lenni0451's Maven or Jitpack. You can also find instructions how to implement it into your build script there.
If you just want the latest jar file you can download it from GitHub Actions or Lenni0451's Jenkins.
Examples can be found in the src/test directory.
ThinGL by default uses SLF4J for logging.
You can however easily redirect the log messages to your own code by setting ThinGL.LOGGER
to your own Logger.
If you encounter any issues, please report them on the
issue tracker.
If you just want to talk or need help implementing ThinGL feel free to join my
Discord.