[quote name='jeroenb' timestamp='1305698281' post='4812269']
but you can also move objects using the shaders using the uniform data variables of shaders. You then only have to tranform the matrix in the shader.
it is NOT a good idea, because moving stuff around in the vertex shader would be a per-vertex operation, resulting in poor vertex processing performance.
see this post:
http://www.gamedev.n...light-position/
[/quote]
In that post he mentions not to do per vertex operations on the CPU, but leave it to the GPU (thus in a shader). I haven't tried, but I do not think that there will be much performance loss when you transform a vertex by adding a pre-computed offset (e.g. by a physics engine) to it in the shader instead of setting the transform using (in OpenGL) glTransform.