I’m currently trying to transfer my models that I would otherwise display in WebGL to the Needle Engine. But now I always have a problem with the materials / textures. The channels do not seem to be displayed correctly. According to the Needle documentation the following materials should work automatically
Materials that can be converted out-of-the-box:
BiRP/Standard
BiRP/Autodesk Interactive
BiRP/Unlit
URP/Lit
URP/Unlit
I am in the UnityEngine 2021.3.10f1 Universal Rendering Pipeline (URP) and use the materials “URP/Lit” here. The textures also correspond to the format output by Substance Painter for the Unity URP (MetallicSmoothness). However, the MetallicSmoothness channel is displayed incorrectly. What could be the reason for this?
I have already tried to get a result with this. the end result is exactly the same, only that with the UnityGLTF/PBRGraph the problem is already visible in the UnityEditor, in the export within the Needle Engine both look pretty much identical.
Ah ok you use a metallic-smoothness workflow? Looks like expected is a Roughness map tho - I think i newer Editor versions you can flip individual channels for a texture tho
Yes I am inside the URP where a MetallicSmoothness Map is required by the URP Lit material. I did a test export yesterday with a Roughness map that I exported from Substance Painter. It looked weird here too. Let me reconstruct this quickly.
I’m not sure how the Roughness-Mettallic Map is required by the UnityGLTF/PBRGraph and it doesn’t match any format which is directly output in SubstancePainter. I have prepared a custom export template and assigned Roughness to the Green channel and Metallic to the Blue channel. Is this the correct way or how should the texture be split?
I have already tried, is then a little closer to what I want to have, but is still wrong. It is particularly noticeable on the base of wood that it has not the slightest roughness influence, it is absolutely high gloss, which it is not in the URP material and also not in substance painter.
Yeah, are you sure that the channels are correct? unfortunately there is no tooltip on the roughness metallic map in the UnityGLTF/PBRGraph Shader Inspector that explains the channels.
Hey @VALENTIN - mind sending me the model so I can take a look? I can guarantee 100% that when it looks correct with UnityGLTF/PBRGraph inside Unity it will look identical in every glTF viewer. Looks like there may have been a regression in automatic conversion of URL/Lit, that’s what I’d like to check (as it should work)