If I use that same .Tif file in Blender via the Metallic/Roughness spots with Colour/Alpha respectively and export a GLTF + Separate file, I still get the Metallic put into the Blue channel and Roughness in the Green channel on export in a .png which UnityGLTF doesnât support (rather than giving me a .png that has roughness in the alpha or spitting out the .Tif file itself)
by user 103054507105067008
Here is that .Tif file separate if it helps for a quick test https://drive.google.com/file/d/1QXShtI0T_jgQqZfUqQ9JGNTZqfsbGHNd/view?usp=share_link
by user 103054507105067008
To be clear, the Blue/Green Channel use for roughness/metallic is what the GLTF sample files from Khronos group use like Damaged Helmet so that is why I was stumped at this
by user 103054507105067008
In glTF roughness is never in alpha, the PBRGraph shader doesnât use that either
If roughnessFactor is in the file but not imported that would be a bug, yes
Thanks, the file material should be identical to the DamagedHelmet example GLTF file from Khronos samples in that the roughness slot is read
by user 103054507105067008
@herbstđ” I have a better repro using a sample GLTF model from Khronos sample models: https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/DamagedHelmet/glTF
I will also send this to GLTFast
Import this Repro into a project that has UnityGLTF and GLTFast: https://drive.google.com/file/d/1d_cIeId5rvLs73vXJ6WhfRd13U-33Ofb/view?usp=share_link
by user 103054507105067008
I still donât get your left picture there
PBRGraph doesnât support roughness in alpha
Interestingly when I export those 3 models in Needle, the one on the left that uses the roughness is not using it in Needle
by user 103054507105067008
middle and right look correct (thatâs how the helmet should look) - whatâs the bug here?
This is a tif using roughness in metallic alpha on UnityGLTF/PBRGraph sliding the roughness shows it working
by user 103054507105067008
Iâm really not sure why you expect roughness in alpha to work in PBRGraph, it doesnât
glTF uses ORM format (Occlusion-Roughness-Metallic in R-G-B)
Okay, so this ORM one is correct
by user 103054507105067008
Trying to find out why in the original problem file that the ORM roughness doesnât work
by user 103054507105067008