Closed bigbike closed 3 years ago
https://github.com/SaschaWillems/Vulkan-glTF-PBR/blob/c937e7e0c619ac771b8477867caceb767fee851f/data/shaders/pbr_khr.frag#L291
OK, I found it in the gltf spec:
c_diff = lerp(baseColor.rgb * (1 - dielectricSpecular), black, metallic)
This is a false alarm. I sincerely apologize.
https://github.com/SaschaWillems/Vulkan-glTF-PBR/blob/c937e7e0c619ac771b8477867caceb767fee851f/data/shaders/pbr_khr.frag#L291