I want to program a shader and I have the position of a vertex and 3 matrices:
- mat4 model-view-projection matrix
- mat4 world transformation of the model
- mat3 world transformation for normals
The output has to be
vec3 world_position
How can I calculate this?