Hello Guest

Tutorial: Using Shaders to Calculate Model's Position

  • 1 Replies
  • 6011 Views
*

Offline ste3e

  • *
  • 20
Tutorial: Using Shaders to Calculate Model's Position
« 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

*

Offline kappa

  • *****
  • 1319
Re: Tutorial: Using Shaders to Calculate Model's Position
« Reply #1 on: November 17, 2010, 09:56:32 »
oh brilliant, another great tutorial.

btw thanks for updating the Wiki too :)