I am starting with glsl and OpenGL 3.30 and so far I have implemented rotation, traslation and perspective (like in OpenGL 2.0).

My question is this. Should I calculate the vertex transformation out of the vertex shader or in the vertex shader? (give the shader rotation, traslation and projection).

Thanks in advice.