Skip to content
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

transmission renders black on some GPU #13284

Closed
mockersf opened this issue May 8, 2024 · 2 comments · Fixed by #13379
Closed

transmission renders black on some GPU #13284

mockersf opened this issue May 8, 2024 · 2 comments · Fixed by #13379
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior P-Regression Functionality that used to work but no longer does. Add a test for this!
Milestone

Comments

@mockersf
Copy link
Member

mockersf commented May 8, 2024

Bevy version

main since #13031

[Optional] Relevant system information

{ os: "MacOS 14.4.1 ", kernel: "23.4.0", cpu: "Apple M1 Max", core_count: "10", memory: "64.0 GiB" }
{ name: "Apple M1 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }

Can also reproduce on Windows in CI, but people were not able to reproduce on Windows locally

What you did

Run example transmission

What went wrong

There seems to be no light transmission at all

Screenshot 2024-05-08 at 23 35 14
@mockersf mockersf added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen P-Regression Functionality that used to work but no longer does. Add a test for this! labels May 8, 2024
@mockersf mockersf added this to the 0.14 milestone May 8, 2024
@BD103 BD103 added the O-MacOS Specific to the MacOS (Apple) desktop operating system label May 9, 2024
@BD103
Copy link
Member

BD103 commented May 9, 2024

I was able to reproduce this as well. An interesting side-effect is that the candle and large sphere now have a "trail" following them. (Look at the borders of both, compared to the floor.)

Screen.Recording.2024-05-08.at.20.36.23.mov

@pcwalton, do you have any ideas what may be happening here?

@Friz64
Copy link
Contributor

Friz64 commented May 12, 2024

Also happens here on Linux.

AdapterInfo { name: "AMD Radeon RX 7900 GRE (RADV NAVI31)", vendor: 4098, device: 29772, device_type: DiscreteGpu, driver: "radv", driver_info: "Mesa 24.0.6-arch1.2", backend: Vulkan }

An interesting side-effect is that the candle and large sphere now have a "trail" following them.

@BD103 That's TAA being TAA.

@mockersf mockersf removed the O-MacOS Specific to the MacOS (Apple) desktop operating system label May 12, 2024
@mockersf mockersf changed the title transmission renders black on macOS transmission renders black on some GPU May 12, 2024
github-merge-queue bot pushed a commit that referenced this issue May 16, 2024
…ng_input.F_ab (#13379)

# Objective

- The clearcoat PR #13031 had a small typo which broke transmission
- Fixes #13284

## Solution

- Set transmissive_lighting_input.F_ab to the correct value


![transmission_fix](https://github.com/bevyengine/bevy/assets/688816/92158117-de3a-4fa5-8af8-dcbd1d5eee04)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior P-Regression Functionality that used to work but no longer does. Add a test for this!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants