Graphics & Games
|
This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production. |
Every image on a screen, from a spinning cube in a browser to a game with millions of triangles per frame, is drawn by a GPU that is driven through software. This section explains how that software is layered and how to use it. It starts with the ideas that every graphics and game library shares: the GPU, the rendering pipeline, the mathematics of transforms and rotations, meshes, textures, lighting, colour, shading languages, scene graphs, the game loop and the basics of augmented reality. Later parts of the section go deep into six libraries: OpenGL, WebGL, Metal, Vulkan, Unity and Unreal Engine.
The overview defines graphics APIs, rendering frameworks and game engines, gives the targeted versions, the learning path and reading order through the general pages, the shared Bookshelf scene and assets, the cheat sheets, and a concept-to-page map and coverage map of every page of the section.
Sections
-
Overview — graphics APIs and game engines, targeted versions, learning path, reading order, cheat sheets, the shared Bookshelf scene and a concept-to-page map of the general pages.
-
Comparison — the six libraries side by side with dated metrics, scores and recommendations by purpose.
-
OpenGL — desktop OpenGL 4.6, OpenGL ES 3.2, GLSL and EGL, from a first triangle to a small game, and how to port to Vulkan, Metal and WebGPU.
-
WebGL — 3D graphics in the browser, the three.js framework on top of it, and WebGPU as the successor API.
-
Metal — Apple’s graphics and compute API (Metal 4, MSL 4.1) for iOS, iPadOS, macOS, tvOS and visionOS.
-
Vulkan — the explicit, cross-platform Khronos API (Vulkan 1.4) for desktop, mobile and embedded GPUs.
-
Unity — a general-purpose game engine with C# scripting and the Universal Render Pipeline (Unity 6.3 LTS).
-
Unreal Engine — a game engine with C++ and Blueprint scripting, Nanite and Lumen (Unreal Engine 5.8).
Bibliography
Every entry links to its official website or to the publisher’s page. Each page lists the subset it derives from under its
own == References heading.
Books
The books are consulted references for concept coverage. No text, figure or code is copied from them, and where a book and the official documentation disagree the documentation is followed.
-
Daniel Selman, Java 3D Programming, Manning, March 2002, ISBN 978-1-930110-35-9: Manning
-
Sun Microsystems, The Java 3D API Specification, version 1.3, Sun Microsystems, 2002. Sun’s page no longer exists; the code and community documentation are at JogAmp and jogamp/java3d-core, with the companion java3d-utils and java3d-examples.
-
Raghav Sood, Pro Android Augmented Reality, Apress, July 2012, ISBN 978-1-4302-3945-1 (eBook 978-1-4302-3946-8): Apress on SpringerLink and the companion code
-
Richard S. Wright Jr., Benjamin Lipchak and Nicholas Haemel, OpenGL SuperBible: Comprehensive Tutorial and Reference, 4th edition, Addison-Wesley, 2007, ISBN 978-0-321-49882-3 (introductory chapters on the general pages, the whole book on the OpenGL pages): InformIT
-
Aaftab Munshi, Dan Ginsburg and Dave Shreiner, OpenGL ES 2.0 Programming Guide, Addison-Wesley, 2008, ISBN 978-0-321-50279-7: InformIT and the companion code
-
Dan Ginsburg, Budirijanto Purnomo, Dave Shreiner and Aaftab Munshi, OpenGL ES 3.0 Programming Guide, 2nd edition, Addison-Wesley, 2014, ISBN 978-0-321-93388-1 (introductory chapters on the general pages, the whole book on the OpenGL pages): InformIT and the companion code
-
John Kessenich (ed.), The OpenGL Shading Language, Version 1.50 (revision 9, 24 July 2009), Khronos Group, 2009: specification
-
Kevin Brothaler, OpenGL ES 2 for Android: A Quick-Start Guide, Pragmatic Bookshelf, 2013, ISBN 978-1-937785-34-5: Pragmatic Bookshelf, with the downloads on the publisher page
-
Romain Marucchi-Foino, Game and Graphics Programming for iOS and Android with OpenGL ES 2.0, Wrox / Wiley, 2012, ISBN 978-1-119-97591-5: Wiley, with the SDK on the publisher’s site
-
Tony Parisi, WebGL: Up and Running, O’Reilly, August 2012, ISBN 978-1-449-32357-8: O’Reilly and the companion code
-
Jos Dirksen, Learning Three.js: the JavaScript 3D Library for WebGL, 2nd edition, Packt, March 2015, ISBN 978-1-78439-221-5: Packt and the companion code
-
Jos Dirksen, Three.js Cookbook, Packt, January 2015, ISBN 978-1-78398-118-2: Packt and the companion code
-
Caroline Begbie and Marius Horga, Metal by Tutorials: Beginning Game Engine Development with Metal, 4th edition, Kodeco, about 2023 (the year is inferred from its Xcode 15 and iOS 17 targets; the publisher page now shows the 5th edition of November 2025, which targets Swift 6 and Xcode 26 and still teaches Metal 3), no ISBN listed: Kodeco and the companion code of the 4th edition
-
Janie Clayton, Metal Programming Guide: Tutorial and Reference via Swift, Addison-Wesley, December 2017 (copyright 2018), ISBN 978-0-13-466894-9: InformIT and the companion code
-
Graham Sellers, with John Kessenich, Vulkan Programming Guide: The Official Guide to Learning Vulkan, Addison-Wesley, November 2016 (copyright 2017), ISBN 978-0-13-446454-1, which targets Vulkan 1.0, SDK 1.0.22, glslangValidator and SPIR-V 1.0: InformIT, Pearson and the companion site
-
Pawel Lapinski, Vulkan Cookbook, Packt, April 2017, ISBN 978-1-78646-815-4, which targets Vulkan 1.0 with the C API and manual function loading: Packt (the page refused automated requests when it was checked, so the address comes from the ISBN) and the companion code
-
Joseph Hocking, Unity in Action: Multiplatform game development in C#, 3rd edition, Manning, January 2022, ISBN 978-1-61729-933-9, which targets Unity 2020.3 LTS, the Built-in Render Pipeline and the legacy Input Manager: Manning and the companion code
-
David Baron, Game Development Patterns with Unity 2021, 2nd edition, Packt, July 2021, ISBN 978-1-80020-081-4, which targets Unity 2021.1 and later: Packt (the page refused automated requests when it was checked, so the address comes from search results; the edition, date and ISBN match the O’Reilly listing) and the companion code
-
Marcos Romero and Brenden Sewell, Blueprints Visual Scripting for Unreal Engine, 2nd edition, Packt, August 2019, ISBN 978-1-78934-706-7, which targets UE 4.20 to 4.22: Packt (the page refused automated requests when it was checked, so the address comes from the ISBN; the edition, date and ISBN match the O’Reilly listing as shown in search results) and the companion code
-
Nitish Misra, Learning Unreal Engine Android Game Development, Packt, June 2015, ISBN 978-1-78439-436-3, which targets UE 4.4 to 4.7 and NDK r9c: Packt (the address comes from search results, which also show the date and ISBN; Packt offers the code as a download from the book’s page)
-
Rachel Cordone, Unreal Development Kit Game Programming with UnrealScript: Beginner’s Guide, Packt, December 2011, ISBN 978-1-84969-192-5, which targets UDK 2011 (Unreal Engine 3): Packt (the page refused automated requests when it was checked, so the address, date and ISBN come from search results)
-
Benjamin Carnall, Unreal Engine 4.X By Example, Packt, July 2016, ISBN 978-1-78588-553-2, which targets UE 4.10 and 4.11: Packt (the page refused automated requests when it was checked, so the address comes from search results; the date and ISBN match the O’Reilly listing as shown in those results) and the companion code
-
Joanna Lee, John P. Doran and Nitish Misra, Unreal Engine: Game Development from A to Z, a Packt learning path that combines three books, August 2016, ISBN 978-1-78712-328-1, which targets UE 4.7 to 4.10: the O’Reilly listing as shown in search results (no Packt product page was found) and the companion code
-
Zhenyu George Li and E. Wyn Roberts, Unreal Engine 5 Game Development with C++ Scripting, Packt, August 2023, ISBN 978-1-80461-393-1, which targets UE 5.0 and later with Visual Studio 2022: Packt (the page refused automated requests when it was checked, so the address comes from the ISBN; the date and ISBN match the O’Reilly listing as shown in search results, which names Li alone, while a library record credits Roberts with the foreword) and the companion code
-
Cristina Cañero Morales, Apuntes de OpenGL y GLUT, course notes of 22 pages in Spanish, unpublished, year not stated. There is no official page, so the notes are cited without a link.
Khronos and web standards
-
Khronos: OpenGL and Khronos: OpenGL ES, with the OpenGL registry, the OpenGL ES registry, the OpenGL 4 reference pages and OpenGL ES 3 reference pages
-
WebGL 1.0 and WebGL 2.0 specifications, the WebGL extension registry and the WebGL repository, with the GLSL ES specifications under the OpenGL ES registry
-
OpenGL resurges in 2025 with mesh shader extensions for gaming
-
Khronos Group: glTF 2.0 specification, glTF, glTF Sample Assets, KTX 2.0, OpenXR registry, SPIR-V registry, ANARI, PBR Neutral tone mapper and Vulkan Portability
-
Vulkan with the specification (including its versions and legacy appendices), the Vulkan Guide, the Vulkan Tutorial and the Vulkan samples, the Vulkan registry and the Vulkan documentation portal
-
The Khronos repositories Vulkan-Docs, Vulkan-Headers, Vulkan-Hpp, Vulkan-Guide, Vulkan-Tutorial and Vulkan-Samples
-
Khronos announcements: Vulkan 1.4, Roadmap 2026 and the descriptor heap extension, the Vulkan Video AV1 encode release and the Slang Initiative, and Vulkan SC with its registry
-
W3C WebGPU, WGSL and WebXR
-
MDN: WebGL API (with its tutorial and best practices), MDN: OffscreenCanvas and MDN: WebGPU API
-
Can I use: WebGL 2, OffscreenCanvas and WebGPU, with the Chrome WebGPU overview and the WebGPU samples
Platform vendors
-
Microsoft (context only): Direct3D 12, HLSL, DirectX adopting SPIR-V and PIX
-
Apple: Metal (with what is new, resources, tools, sample code, metal-cpp and the Metal shader converter), the Metal Shading Language Specification and Metal Feature Set Tables, the Metal, MetalKit, MetalFX, Metal Performance Shaders, MPSGraph and Compositor Services documentation, Metal developer workflows in Xcode, the Xcode 26 and Xcode 27 release notes, Apple games with Game Porting Toolkit, RealityKit, the archived OpenGL Programming Guide for Mac and Migrating OpenGL code to Metal
-
Google: Android OpenGL ES guide, Android Vulkan overview, Implement Vulkan (with the Android Baseline profile), Android graphics, ARCore, Android XR and Android GPU Inspector
-
Java: Java 3D (JogAmp), JEP 289 and JEP 398, and LWJGL
Libraries, engines and tools
-
three.js documentation, manual and examples, the release notes, the Migration Guide and the TSL wiki
-
Babylon.js documentation (named only)
-
Community WebGL tools: WebGL2 Fundamentals, Spector.js, glMatrix, twgl and lil-gui
-
Unity Manual (also current), Scripting API and released packages for 6.3
-
Unity 6 support, the 6.3 LTS, 6.6 and 7.0 alpha announcements, and the render pipeline strategy for 2026
-
Unity pricing updates, the Runtime Fee cancellation and the Unity Hub release notes
-
Unity package documentation: Input System, Entities, Cinemachine, Addressables, Netcode for GameObjects, Netcode for Entities, OpenXR, AR Foundation, XR Interaction Toolkit, AI Navigation, Test Framework, Shader Graph, VFX Graph, URP and uGUI
-
Unity Learn and the Level up your code with design patterns and SOLID e-book
-
Context for the Unity pages: Microsoft’s BinaryFormatter security guide and Visual Studio for Mac retirement
-
Unreal Engine 5.8 documentation, with the C++ API and the Blueprint API
-
Unreal Engine release notes for 5.7 and 5.8, the Unreal Engine 5 migration guide, the Lyra sample, Unreal Engine for Unity developers and the Android and macOS requirements
-
Epic Developer Community learning and the Verse language reference
-
Unreal Engine licence, EULA and FAQ, The road to UE6 and the State of Unreal 2026 recap
-
Hotfix announcements on the Epic forums, such as 5.8.4, and source access at EpicGames/UnrealEngine
-
Godot documentation (for comparison only)
-
GLFW and the glad2 loader generator
-
ANGLE source and documentation, Mesa Zink, ANGLE, MoltenVK, Dawn, wgpu and SPIRV-Cross
-
LunarG Vulkan SDK documentation with the 1.4.341, 1.4.357 and 1.4.363.0 release notes, and the Vulkan Memory Allocator
References
-
The Khronos Group: OpenGL, Vulkan, WebGL, glTF, OpenXR and SPIR-V