OpenGL Tutorial 54: Occlusion Queries @ThinMatrix
OpenGL Tutorial 54: Occlusion Queries  @ThinMatrix
Uploaded July 2017 | Updated November 2026, 3 hours ago
Tutorial about OpenGL occlusion queries with an example of how they can be used for lens flare effects.

Try out the runnable demo (Windows only):
dropbox.com/s/86kh0p7usc2dwoz/Demo.jar?dl=0

Starting code download (needs to be set up in a project with lwjgl.jar, lwjgl_utils.jar, and PNGDecoder jar, as well as the relevant natives):
dropbox.com/sh/syn3i78zfup6oki/AADoo9mfYxSabCpjZXQ5cbAJa?dl=0

Finished Code:
dropbox.com/sh/qkzbzfyltc3kjdx/AACOUY8kkwb5sjXknb_rWbsma?dl=0

Finished Code on GitHub:
github.com/TheThinMatrix/OcclusionQueries

Article about occlusion queries:
developer.download.nvidia.com/books/HTML/gpugems/gpugems_ch29.html


Support the series on Patreon: patreon.com/thinmatrix

Facebook Page: facebook.com/thinmatrix
Twitter: twitter.com/ThinMatrix
Tumblr: thinmatrix.tumblr.com
Instagram: instagram.com/thin_matrix
Check out my game on IndieDB: indiedb.com/games/equilinox


End of video music- Kai Engel, "Waking Stars":
freemusicarchive.org/music/Kai_Engel/Evening_Colors/01_-_Waking_Stars
OpenGL Tutorial 54: Occlusion Queries3 Weeks of Programming the Farmers MarketOpenGL 3D Game Tutorial 47: Bloom EffectTechnical Devlog: Implementing Audio into my Game EngineHomeGrown Devlog: Programming the Research SystemProcedurally Generating Icons for my Farming GameProgramming the Road System for my City-Builder GameOne Week of Indie Game Development: Dolphins!Another Week of Indie Game Development!Equilinox - Java Game Devlog 20: WolvesSee you in 2019!Indie Game Devlog #28: Disease & Health
ThinMatrix |

OpenGL Tutorial 54: Occlusion Queries

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER