Replies: 1 comment 1 reply
|
If I restart Safari, then the cube texture doesn't render at all. I also tried my cat texture on the textured cube sample without any code changes. I get the same issue. So now I think that Safari fails on I ruled out The cat image I'm using contain HDR information; maybe Safari doesn't like its format. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I wrote this code based on other stuff I found online: https://garciat.com/webgpu-playground/posts/hdr/
I can't figure out why the texture rending on Safari always shows the grass texture on the cube.
I even tried deleting the grass texture altogether. Safari still renders it.
JS: https://github.com/Garciat/webgpu-playground/blob/main/src/posts/hdr/main.ts
WGSL: https://github.com/Garciat/webgpu-playground/blob/main/src/posts/hdr/shaders.wgsl
I am still learning graphics programming, so I wouldn't be surprised if there's a silly bug in the code.
Chrome (v131.0.6778.205)

Safari (v18.2)

All reactions