Tutorial: Using Shaders to Calculate Model's Position

Started by ste3e, November 17, 2010, 02:10:03

Previous topic - Next topic

ste3e

Given Java has a reputation for not being as fast as C++ it makes sense to shift the 'once per game loop' calculations of object's positions to the GPU. I am not actually sure this is a good solution because the vertex shader has to perform the same calculations once per game loop per vertex... but anyhoo, it is a good tutorial for learning how to set up uniform shader variables (several days work figuring that out). The link is:

https://docs.google.com/leaf?id=0B9hhZie2D-fENDhjYzY1MDYtY2E1MC00NGU2LWJjZTAtZGM0MGZjNzNjYjBj&hl=en

kappa

oh brilliant, another great tutorial.

btw thanks for updating the Wiki too :)