UniVRM icon indicating copy to clipboard operation
UniVRM copied to clipboard

In URP, imported gltf's material's shader is Standard, which should be URP Lit.

Open butaixianran opened this issue 2 years ago • 2 comments

Environments:

  • UniVRM version: 0.96.2
  • Unity version: Unity-2021.2.13
  • OS: Windows 11

Describe the issue

In URP, importing a gltf file, every material's shader type is Standard(which should be URP/Lit), so none of those materials works.

If I just convert it to URP/Lit, then I lose all Base Color Textures. Because URP Lit Shader uses a different name for base color.

butaixianran avatar Mar 02 '22 17:03 butaixianran

Thank you for reporting.

Well I do not know. What is your gltf material?

ousttrue avatar Apr 06 '22 11:04 ousttrue

I don't understand, what you mean "what is your gltf material".

I export a model from blender into glft file, then import it into a URP project of Unity.

Any material with color texture should get the same result.

butaixianran avatar Apr 07 '22 09:04 butaixianran

The recent version has improved URP, so please try it.

ousttrue avatar Oct 16 '23 12:10 ousttrue