Yo @Deltakosh or @sebavan
I have made a shader that to Highlight an instance mesh. The WebGL2 version works great but the the WGSL version gives a error that overlayColor and overlayAlpha are not defined. Even thow
i return them in getUniforms and update them in bind sub meshes. Plus. it works for WebGL2 … something is wrong in my system for the WGSL version.
please take a look:
// WebGL2 - Playground - Babylon.js Playground
// WebGPU - Playground - Babylon.js Playground