i am trying to add custom vertex attributes to my
CustomMaterial, but only existing attributes are being sent to the vertex shader.
Here is my PG. I’m just copying
uv coordinates to
uv6 and try to use them in the shader, however they are not sent.
material.getEffect().getAttributesNames() = ["position", "normal", "uv"].
Is there any way how to add them? Or should i use
ShaderMaterial and copy
StandardMaterials vertex and fragment shaders and modify them?