Export meshes modified by a vertex function from a shader

Godot Version

4.1

Question

Can I export a mesh modified by a vertex function from a shader?

No, vertex shader’s modifications aren’t stored in a retrievable way, and a large part of the vertex shader is to translate the model into the flat screen view. If you are applying the same vertex transformations it may be better to pre-compute the mesh with an ArrayMesh

1 Like