mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-14 06:19:47 -05:00
_METALLICSPECGLOSSMAPが正常にURP Materialに設定されない問題を修正
This commit is contained in:
parent
401b84ff50
commit
e3150773c8
|
|
@ -79,7 +79,7 @@ namespace UniGLTF
|
|||
|
||||
if (src.pbrMetallicRoughness.metallicRoughnessTexture != null && src.pbrMetallicRoughness.metallicRoughnessTexture.index != -1 && standardTexDesc.HasValue)
|
||||
{
|
||||
actions.Add(material => material.EnableKeyword("_METALLICGLOSSMAP"));
|
||||
actions.Add(material => material.EnableKeyword("_METALLICSPECGLOSSMAP"));
|
||||
textureSlots.Add("_MetallicGlossMap", standardTexDesc.Value);
|
||||
// Set 1.0f as hard-coded. See: https://github.com/dwango/UniVRM/issues/212.
|
||||
floatValues.Add("_Metallic", 1.0f);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user