Skip to content

Force normal map texture linear space#271

Merged
bsavery merged 1 commit intoGPUOpen-LibrariesAndSDKs:masterfrom
hshakula:fix-normal-map
Apr 7, 2020
Merged

Force normal map texture linear space#271
bsavery merged 1 commit intoGPUOpen-LibrariesAndSDKs:masterfrom
hshakula:fix-normal-map

Conversation

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