Currently it is impossible to render correctly specular-glossiness material.
I obtain incorrect results with current implementation. Additionally this incorrect result isn't even consistent. For example, I've tried to render two spheres. One with metallic-roughness texture and another with specular-glossiness. The renderer returns one of two types of images:
Depth maps
Color maps
As it is shown above, depth maps were rendered correctly, so both objects are present in the scene. Metallic-roughness sphere was rendered correctly, but specular-glossiness sphere is transparent or white. Can't figure out what is the problem.
Currently it is impossible to render correctly specular-glossiness material.
As it is shown above, depth maps were rendered correctly, so both objects are present in the scene. Metallic-roughness sphere was rendered correctly, but specular-glossiness sphere is transparent or white. Can't figure out what is the problem.