PWA installs; WebGPU updates; Several additions; Loads of bug fixes.
Wonderful news on opt-in to direct rendering with 3D objects! This will allow us some interesting effects with 3D shapes and objects.
We need one more thing for 3d shape fragment lighting.
Can you please add a varying output to the default vertex shadet, just passing through aPos, so we know the world position of the fragment.
So please add in webgl2 vertex shader: out highp vec3 pos; and in main(): pos = aPos. Also, please do the equivalent for webgl and webgpu. This will get the frag shader the world coordinates needed for world based frag lighting.
If the following shader does not use pos, it will allow the shader compiler too compile it away. Even if it does not compile it away, it would seem to have small impact.
I will also add this to the c3 2024 suggestion platform.
Thank you for the consideration and great beta release.