Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_METALLICSPECGLOSSMAPが正常にURP Materialに設定されない問題を修正 #2045

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

notargs
Copy link
Contributor

@notargs notargs commented Apr 17, 2023

_METALLICSPECGLOSSMAPが正常にURP PBR Materialに設定されない問題を修正します
1行の修正のみ

@@ -79,7 +79,7 @@ public static bool TryCreateParam(GltfData data, int i, out MaterialDescriptor m

if (src.pbrMetallicRoughness.metallicRoughnessTexture != null && src.pbrMetallicRoughness.metallicRoughnessTexture.index != -1 && standardTexDesc.HasValue)
{
actions.Add(material => material.EnableKeyword("_METALLICGLOSSMAP"));
actions.Add(material => material.EnableKeyword("_METALLICSPECGLOSSMAP"));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

URPでリネームされていた

@notargs notargs requested a review from ousttrue April 17, 2023 01:23
Copy link
Contributor

@ousttrue ousttrue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ousttrue ousttrue merged commit 7c2d360 into vrm-c:master Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants