Skip to content
Snippets Groups Projects
Commit 36a7a424 authored by Ptolemy's avatar Ptolemy
Browse files

SL-17682: PBR: Fix debug fresnel roughness output to match glTF Sample Viewer

parent e2879eaf
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
...@@ -395,6 +395,7 @@ void main() ...@@ -395,6 +395,7 @@ void main()
#endif #endif
#if DEBUG_PBR_FRESNEL #if DEBUG_PBR_FRESNEL
color.rgb = fresnelR; color.rgb = fresnelR;
color.rgb = srgb_to_linear(color.rgb);
#endif #endif
#if DEBUG_PBR_IOR #if DEBUG_PBR_IOR
color.rgb = vec3(IOR); color.rgb = vec3(IOR);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment