extract world space vertices of an animated model? #11046
Answered
by
nicopap
ThomasCartier
asked this question in
Q&A
-
Hi, What would be the best approach to extract the world space vertices of an animated model at every step? It's from a humanoid. Reading the doc, I may have missed the info. |
Beta Was this translation helpful? Give feedback.
Answered by
nicopap
Dec 21, 2023
Replies: 1 comment 1 reply
-
The animated vertices coordinates are computed on the GPU in a vertex shader. You would use the bevy/crates/bevy_pbr/src/render/mesh.wgsl Line 32 in ced216f Depending on your use case this might not be useful. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ThomasCartier
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The animated vertices coordinates are computed on the GPU in a vertex shader. You would use the
vertex
function inmesh.wgsl
herebevy/crates/bevy_pbr/src/render/mesh.wgsl
Line 32 in ced216f
Depending on your use case this might not be useful.