-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Labels
A-WindowingPlatform-agnostic interface layer to run your app inPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorO-LinuxSpecific to the Linux desktop operating systemSpecific to the Linux desktop operating systemO-VulkanSpecific to the Vulkan render APISpecific to the Vulkan render APIS-Needs-DesignThis issue requires design work to think about how it would best be accomplishedThis issue requires design work to think about how it would best be accomplished
Description
Bevy version
0.17
What you did
Run the transparent_window example.
What went wrong
There is fringing where the bevy logo is translucent.
Additional information
Wayland assumes that pre-multiplication is performed after transfer-function encoding. There is no way to achieve this in Vulkan with built-in functionality, therefore I think the simplest solution to achieve this is as follows:
- Keep everything else as is.
- Immediately before presentation, run the following compute shader on the swapchain image:
- Apply the sRGB EOTF
- Unpremultiply
- Apply the sRGB OETF
- Premultiply
Metadata
Metadata
Assignees
Labels
A-WindowingPlatform-agnostic interface layer to run your app inPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorO-LinuxSpecific to the Linux desktop operating systemSpecific to the Linux desktop operating systemO-VulkanSpecific to the Vulkan render APISpecific to the Vulkan render APIS-Needs-DesignThis issue requires design work to think about how it would best be accomplishedThis issue requires design work to think about how it would best be accomplished