It may be a very silly question, but I would like to know how do I handle my player’s uniform in a game using vulkan.
I have a scene rendered with a player they both share the same MVP’s (right now).
How do I separate the model matrix (and my view matrix since I will be look at my player) used for my Player and the model matrix used for the rest of my scene. Consedering that my player will move arround.
In openGL I would do it just by setting a shader uniform for my player then render the player (glDrawArrays…), then set a different uniform for my scene then render the scene.
However since the drawCommands are recorded, how do I do it in Vulkan?
Sorry if I did not make my self clear.