LWJGL Forum

Programming => LWJGL Documentation => Topic started by: ste3e on November 17, 2010, 02:10:03

Title: Tutorial: Using Shaders to Calculate Model's Position
Post by: ste3e on November 17, 2010, 02:10:03
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
Title: Re: Tutorial: Using Shaders to Calculate Model's Position
Post by: kappa on November 17, 2010, 09:56:32
oh brilliant, another great tutorial.

btw thanks for updating the Wiki too :)