PDA

View Full Version : Texture Samples



UraniumSlug
08-16-2012, 11:39 AM
I'm busy following this tutorial and using OpenGL to execute it.

http://http.developer.nvidia.com/GPUGems3/gpugems3_ch27.html

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?

Dark Photon
08-17-2012, 06:11 PM
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.