All Questions
2 questions
0
votes
1
answer
387
views
OpenGL Vertex Shader "joint matrix * weight" multiplication performance
Trying to implement animation on my engine.
I'm at the first stage, rendering default pose of skinned meshes.
Working as expected but very slow.
With the below calculation, the shader takes 6ms to run....
8
votes
3
answers
11k
views
How do I send multiple matrices to a vertex shader?
I'm practising animations using bones/skinning. I am trying to send the shader one matrix per vertex. I can think of these two approaches.
Method 1
I have one uniform handle for each bone matrix like ...