Why does the WGSL compiler(glslang, twgsl) load when using GridMaterial with WebGPU?

Does this simply mean that GridMaterial does not support WGSL?
If so, are there any plans to add native support for WGSL in the future?

Thank you for this great framework!

cc @Evgeni_Popov

Native wgsl shaders have been created for the main shaders only (standard, pbr, background, etc.).

The materials from the material library are still GLSL only and require TWGSL to be converted to WGSL.

Let me see what AI can do to add native WGSL shaders to the material library…

Thank you for your reply!

I hope this will become unnecessary, since a GLSL-to-WGSL compiler adds network and memory overhead, and also does not work inside a Web Worker without some extra work!

AI works well, here’s the PR:

Cool! Thank you so much!