#How to get transform matrix in Vertex Shader

1 messages · Page 1 of 1 (latest)

static rover
#

Hello, I'm writing a vertex shader and want to multiply the position by the entity's Transform matrix. How do I access it, and where can I find documentation on writing bevy shaders in the future? The examples on the website aren't very helpful at explaining what bindings/groups/imports are available.

dawn ingot
static rover
#

Thank you sir, that is exactly what I was looking for! I feel like the examples could benefit from including some of these links?

dawn ingot
#

realistically, I'm expecting WESL to make an impact on the availability of shader docs. There's already someone hacking on a "wesldoc" that includes struct definitions and examples in the docs, etc