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

master
Ptolemy 2022-07-05 20:03:29 -07:00
parent 36a7a424a9
commit e5ef64b74a
1 changed files with 1 additions and 0 deletions

View File

@ -325,6 +325,7 @@ void main()
#endif
#if DEBUG_PBR_OCCLUSION
color.rgb = vec3(packedORM.r);
color.rgb = linear_to_srgb(color.rgb);
#endif
#if DEBUG_PBR_ORM
color.rgb = packedORM;