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

Set _Cutoff parameters when alphaMode is MASK #219

Merged
merged 2 commits into from
Mar 13, 2019
Merged

Set _Cutoff parameters when alphaMode is MASK #219

merged 2 commits into from
Mar 13, 2019

Conversation

yutopp
Copy link
Contributor

@yutopp yutopp commented Mar 11, 2019

Fix #214.

@@ -240,11 +240,12 @@ public virtual Material CreateMaterial(int i, glTFMaterial x)
material.SetInt("_SrcBlend", (int)UnityEngine.Rendering.BlendMode.One);
material.SetInt("_DstBlend", (int)UnityEngine.Rendering.BlendMode.Zero);
material.SetInt("_ZWrite", 1);
material.SetFloat("_Cutoff ", x.alphaCutoff);
Copy link
Contributor

Choose a reason for hiding this comment

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

_Cutoffの横にスペースが入っているのが気になります

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ありがとうございます.ミスですね...
11d6178 で修正しました.

@hiroj hiroj merged commit 9ee1aac into master Mar 13, 2019
@ousttrue ousttrue deleted the fix/set_cutoff branch August 27, 2020 02:29
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.

2 participants