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

Force normal map texture linear space #271

Merged
merged 1 commit into from
Apr 7, 2020

Conversation

hshakula
Copy link
Contributor

@hshakula hshakula commented Apr 7, 2020

For some reason, this line giving us GL_SRGB even for normal map .png images. So as normal maps are never sRGB encoded, we can safely force linear space usage for such textures

Related issue FIR-1630

@bsavery bsavery merged commit 8d03f77 into GPUOpen-LibrariesAndSDKs:master Apr 7, 2020
@hshakula hshakula deleted the fix-normal-map branch April 8, 2020 08:59
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