Greggman
Greggman
For now I just reverted to 3.x I haven't had time to check if @n3tr 's patch is related or not
Some of us have 3rd party things in our public folder that are not part of the build. We used to be able to reference those things. Now we can't
You can try editing `Assets/WebGLTemplates/Better2020index.html` around line 30 add ``` devicePixelRatio: 1, ``` as in ``` const config = { devicePixelRatio: 1, //
Hey! Template works on LocalHost when build and run, but does not work when uploading game on server
It's got nothing to do with the template. You have to configure your server https://docs.unity3d.com/2019.4/Documentation/Manual/Webgl-Server-configuration-for-WebAssembly-streaming.html
I don't know if any of this is useful to three.js but [this article has some ideas for WebGPU performance](https://webgpufundamentals.org/webgpu/lessons/webgpu-optimization.html). There are also some hopefully equivalent WebGL examples linked at...
What do you mean by "do not work"? https://user-images.githubusercontent.com/234804/203619459-0abd3089-05e2-4d4d-be78-ed35d92c1901.mp4
It's a bug in firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1645092
Hacked in a workaround for the firefox bug https://github.com/gfxfundamentals/webgl-fundamentals/commit/e6d75517941ff1a9895a1a4d051ac32b08b97933
This issue is covered here: https://webglfundamentals.org/webgl/lessons/webgl-cors-permission.html It's intentionally omitted here because otherwise I have explain everything in that article. Just setting `crossDomain` is not enough. The fact that it worked...
I'm not sure what's best. I started to add a link to the article, the comment appears in 5 places, but I think maybe it's better just to remove the...