danrossi / three-webgpu-renderer

MIT License
7 stars 2 forks source link

Black screen in v162 #12

Closed andreasrosdal closed 3 months ago

andreasrosdal commented 7 months ago

I just updated from r161 to r162, and now the canvas is black, and there are no error messages in the javascript console. I will try to find out what causes this, I just would like to report. So something is different in r162. Can be tested here: https://www.fciv.net/?webgpu=true

This is for this project: https://github.com/fciv-net/fciv-net

danrossi commented 7 months ago

It seems to be fine in the demo. How do you set it up the nodes system or wgsl ?

https://danrossi.github.io/three-webgpu-renderer/tests/webgpu_video_panorama_equirectangular.html https://danrossi.github.io/three-webgpu-renderer/tests/webgpu_equirectangular.html

It even works with my modified sdf font package

https://danrossi.github.io/three-webgpu-renderer/tests/webgpu_gl_text.html

danrossi commented 3 months ago

They have made a module build for this now I believe. I haven't had the time to check. If it needs further customisation for iife packages I'll look into it. It won't work by default in iife packages I have a special build for that.