Skip to content

Enable Alpha8 render targets#485

Open
kg wants to merge 1 commit intoFNA-XNA:masterfrom
sq:alpha8-rt
Open

Enable Alpha8 render targets#485
kg wants to merge 1 commit intoFNA-XNA:masterfrom
sq:alpha8-rt

Conversation

@kg
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

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

@flibitijibibo flibitijibibo force-pushed the master branch 2 times, most recently from a287f9a to e0fbaf7 Compare April 5, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants