Texture Samples

I’m busy following this tutorial and using OpenGL to execute it.


I was wondering what exactly the number of samples variable in the for loop is? How would I be able to get this value using OpenGL?

Search for “samples” on that page. The answer is in the text. Also, the “texCoord += velocity” as the loop iteration statement kind of gives that away though.