godotengine / godot-docs

Godot Engine official documentation
https://docs.godotengine.org
Other
3.93k stars 3.21k forks source link

Document usage of ArrayType.ARRAY_CUSTOM0 - 3 #6304

Open Xyotic opened 2 years ago

Xyotic commented 2 years ago

v4.0 beta1

Godot4 now supports custom vertex data for meshes, but the usage of ArrayType.ARRAY_CUSTOM0 - 3 doesnt seem to be documented properly.

The API docs alredy lists these new Array types: https://docs.godotengine.org/en/latest/classes/class_mesh.html#enum-mesh-arraytype

It would be a very helpful addition for https://docs.godotengine.org/en/latest/tutorials/3d/procedural_geometry/arraymesh.html to add a small example on how to set these data correctly and how to access them in shader code

SneaK1ng commented 1 year ago

I think so.