I'm learning OpenGL using Go 1.5 and golang.org/x/mobile/gl
, these are my
notes.
Examples should be mostly-compilable, but sometimes they deviate from the actual Go API into an imaginary variant that is closer to the underlying C API (which most GL libraries are based on). The goal is to understand how OpenGL works on in general, not to learn about quirks of a specific library.
This may be a good primer to go over before diving into a language-specific OpenGL tutorial.
References:
- http://docs.gl/ (fast OpenGL API lookup)
- https://en.wikibooks.org/wiki/OpenGL_Programming
- https://open.gl/ and https://github.com/zuck/opengl-examples
- http://www.opengl-tutorial.org/
- https://stackoverflow.com/questions/7536956/opengl-es-2-0-shader-best-practices
-
One big fat Markdown file (best for skimming): combined.md
-
Separate chapters in Markdown: manuscript/
-
MOBI (for Kindles), EPUB, and PDF: https://leanpub.com/learning-opengl
See something that is incorrect or confusing? Please open an issue or make a pull request with improvements. Please make the edits in the separate chapters, not the combined file.