Answer the question
In order to leave comments, you need to log in
How to work with camera in OpenGL 3x?
Started learning OpenGL and I don't understand this.. I'm going to make a game with a big world. And I want to move the cube. Only that the cube would be fixed in the center of the window. How to do it? Do I understand correctly that I will have to move the entire scene relative to the cube?
Answer the question
In order to leave comments, you need to log in
In your vertex shader, the whole scene will be multiplied by the projection matrix anyway, so it won't cost you anything in fact.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question