**** IMPORTANT: If you are here, you are viewing the legacy version. It is kept in case it contains usefull information for anybody but it will not be maintained **** **** IMPORTANT: Current version is here ****
This online book will introduce the main concepts required to write a 3D game using the LWJGL 3 library.
LWJGL is a Java library that provides access to native APIs used in the development of graphics (OpenGL), audio (OpenAL) and parallel computing (OpenCL) applications. This library leverages the high performance of native OpenGL applications while using the Java language.
My initial goal was to learn the techniques involved in writing a 3D game using OpenGL. All the information required was there in the internet but it was not organized and sometimes it was very hard to find and even incomplete or misleading.
I started to collect some materials, develop some examples and decided to organize that information in the form of a book.
2020/06/20 - NEWS: Vulkan book first chapters already available here.
The source code of the samples of this book is in GitHub.
The source code for the book itself is also published in GitHub.
The book is licensed under Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
The source code for the book is licensed under Apache v2.0
If you like the book please rate it with a start and share it. If you want to contribute with a donation you can do a donation:
Suggestions and corrections are more than welcome (and if you do like it please rate it with a star). Please send them using the discussion forum and make the corrections you consider in order to improve the book.
Antonio Hernández Bejarano
To all the readers that have contributed with corrections, improvements and ideas.