You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The import.meta.url will with webpack generate a file:// url referencing the local build env. Likely something like done to fix mrdoob/three.js#21696 would make sense to fix this. :)
If any more information is needed the threejs issue has a bit more information and an example page.
The text was updated successfully, but these errors were encountered:
Thanks for the report, but sadly I have no idea how to fix this. When I was working on this project I tried for a while to figure it out, but the JS bundling ecosystem is so fragmented that I found it impossible. If you can recommend a fix I'd be happy to take it.
That said, SPIR-V in WebGPU is all but obsolete at this point, and it won't be available in Chrome's Origin Trial. Please consider translating code to WGSL instead, e.g. using Naga as described here for noclip.website: https://youtu.be/kZCqRlabZiU?t=854
Hm yeah sadly I guess I have to wait on threejs for conversion :D They use this library :)
(Though apart from that for personal use in the long term I will move to wgpu-rs and wasm to use wgsl. This was just planned as a intermediate step for me.)
Note: this is paired with mrdoob/three.js#22549
As described over at three.js this seems to use a feature that only works with nodejs but not browser based as with webpack/angular.
The line for it is https://github.com/kainino0x/glslang/blob/851f3daad0efb7e69a6bec4fd07fe60067104a4a/glslang/OSDependent/Web/glslang.after.js#L6-L7 in this project.
The
import.meta.url
will with webpack generate afile://
url referencing the local build env. Likely something like done to fix mrdoob/three.js#21696 would make sense to fix this. :)If any more information is needed the threejs issue has a bit more information and an example page.
The text was updated successfully, but these errors were encountered: