Skip to content
New issue

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

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

Already on GitHub? # to your account

Enable Alpha8 render targets #485

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Enable Alpha8 render targets #485

wants to merge 1 commit into from

Conversation

kg
Copy link
Contributor

@kg kg commented Apr 13, 2024

I vaguely recall this working in XNA - I think escape goat 2 used it.
Right now it works for D3D11 and Vulkan with this change, but the behavior is different when sampling from the resulting RT.

D3D11:
d3d11

Vulkan:
vulkan

Maybe an sRGB vs linear thing? Not sure.

@kg
Copy link
Contributor Author

kg commented Apr 13, 2024

The difference is in the way blending/rendering works for the RT; sampling is consistent. Disabling blending when drawing to it makes it work the same on both.

@flibitijibibo
Copy link
Member

Let's add this when gpu is ready, we should make sure it works there first.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants