For this technique to work you need at least OpenGL 4.3, but that said even quite long in the tooth integrated graphics can do this (at least on Linux, and I guess on windows), SSBO’s (Shader Storage Buffer Objects) are a great way for your shader to feedback information to your application. In this case […]