3D lighting; More 3D model updates; Bug fixes.
There's a PluginInfo method SetSupports3DLighting() in this release so third-party addons can opt-in to 3D lighting support (I forgot to add that to the changelog, sorry). Custom geometry can use MeshData and call either copyNormalBuffer() to set a normal buffer, or computeNormalBuffer() to calculate it from vertex positions.
Rendering should not be affected by anything previously drawn - if so it's a bug so please file an issue!
Thank you, Ashley, for the very quick and precise reply! I tested it immediately: SetSupports3DLighting(true) together with MeshData, computeNormalBuffer() and drawMeshData() works with our custom animated mesh in WebGPU Preview. Multiple colored lights and the standard Material Properties are working correctly.
Your answer saved us a lot of time and confirmed the right integration path. Much appreciated! :)