GPUOpen-LibrariesAndSDKs / FidelityFX-SDK

The main repository for the FidelityFX SDK.
Other
876 stars 89 forks source link

Make UI+Scene composition use pre-multiplied alpha blend #57

Closed Filoppi closed 2 weeks ago

Filoppi commented 8 months ago

This might be an questionable change, but most game engines use pre-multiplied alpha to compose the UI on top of the game scene. I think it's good if FSR3 did the same by default. There's a chance I misunderstood this code :).

Filoppi commented 2 weeks ago

This was merged, whether directly or indirectly, as the same code is in: https://github.com/GPUOpen-LibrariesAndSDKs/FidelityFX-SDK/blob/be99c36a76fb6a09999dd6150f1fedc14d755182/sdk/src/backends/vk/FrameInterpolationSwapchain/FrameInterpolationSwapchainUiCompositionPS.glsl#L37 under a branch. Thanks.