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

SL-17682: PBR: Fix debug BRDF uv output to match glTF Sample Viewer

parent 49c923bf
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
......@@ -361,6 +361,7 @@ void main()
#endif
#if DEBUG_PBR_BRDF_UV
color.rgb = vec3(brdfPoint,0.0);
color.rgb = linear_to_srgb(color.rgb);
#endif
#if DEBUG_PBR_BRDF_SCALE_BIAS
color.rgb = vec3(vScaleBias,0.0);
......
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