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

Perform FXAA in SRGB space as described by algorithm #99339

Closed
wants to merge 1 commit into from

Conversation

mrsaturnsan
Copy link
Contributor

FXAA runs in SRGB space so convert linear colors to SRGB before computing color.

https://developer.download.nvidia.com/assets/gamedev/files/sdk/11/FXAA_WhitePaper.pdf

@mrsaturnsan mrsaturnsan requested a review from a team as a code owner November 16, 2024 22:29
@mrsaturnsan mrsaturnsan changed the title Perf FXAA in SRGB space as described by algorithm Perform FXAA in SRGB space as described by algorithm Nov 16, 2024
@jcostello
Copy link
Contributor

Can you show what difference does it make?

@mrsaturnsan
Copy link
Contributor Author

No Anti Aliasing

NoAA

Before change

BeforeChange

After change

AfterChange

Difference

diff

@clayjohn
Copy link
Member

Just a heads up that we intend to replace our FXAA implementation before 4.4 #89582

@mrsaturnsan
Copy link
Contributor Author

Thanks for the heads up! In that case this PR is unnecessary so will close out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants