Skip to content

Transmission Looks Dark in Safari and Edge on MacOS #682

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
AntonPalmqvist opened this issue Apr 4, 2025 · 1 comment
Open

Transmission Looks Dark in Safari and Edge on MacOS #682

AntonPalmqvist opened this issue Apr 4, 2025 · 1 comment
Labels
browser / device issue bug Something isn't working
Milestone

Comments

@AntonPalmqvist
Copy link
Contributor

AntonPalmqvist commented Apr 4, 2025

Describe the bug

On MacOS, materials with transmission set to 1 doesn't let through light, even if bounces are set high. This happens in Safari and Edge, but not in Firefox. Same goes for iOS.
It works as expected on Windows in all browsers.

Expected behavior

Light should get through the material and get refracted.

Screenshots and Repro Model

You can test this with the Transmission Preset Orb by opening in Firefox, Safari, and Edge respectively, on MacOS.

Firefox
Image

Safari
Image

Edge
Image

Platform:

  • Device: [Mac M4, Iphone 15 Pro]
  • OS: [MacOS, iOS]
  • GPU: [Apple Silicon]
  • Browser: [Safari, Edge]
  • Browser Version: [Safari 18.3.1, Edge 134]
  • Three.js version: [r175]
@AntonPalmqvist AntonPalmqvist added the bug Something isn't working label Apr 4, 2025
@gkjohnson
Copy link
Owner

Intersting - I'm seeing the same black behavior with Chrome. This must be a browser regression but it's still surprising to see it behaving differently on the same hardware. There must be something about how the WebGL backend is transforming the shader and unfortunately chasing down these regressions and browser / hardware quirks is particularly time consuming and difficult.

Maybe someday using WebGPU and compute shaders will help alleviate some of these issues but obviously that's a much bigger rewrite.

@gkjohnson gkjohnson added this to the v0.0.24 milestone Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser / device issue bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants