Update convert_gltf_shader.py

This commit is contained in:
Kayla Man 2023-01-18 00:00:08 +08:00 committed by GitHub
parent 257859716f
commit bdc4a09635
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,7 +68,7 @@ class ConvertGLSLShader(publish.Extractor):
mtl = glsl + ".u_MetallicTexture"
ao = glsl + ".u_OcclusionTexture"
rough = glsl + "u_RoughnessTexture"
rough = glsl + ".u_RoughnessTexture"
cmds.connectAttr(orm_output, mtl)
cmds.connectAttr(orm_output, ao)