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

[1.0] Fix MToon10 texture offset/scale bug. #1261

Merged
merged 1 commit into from
Sep 29, 2021

Conversation

Santarh
Copy link
Contributor

@Santarh Santarh commented Sep 29, 2021

OffsetScale 変換が、頂点シェーダとフラグメントシェーダの両方で行われてしまっていた。

@Santarh Santarh requested a review from ousttrue September 29, 2021 06:00
@ousttrue ousttrue added this to the v0.85 milestone Sep 29, 2021
@@ -17,7 +17,7 @@ Varyings MToonVertex(const Attributes v) // v is UnityCG macro specified name.
UNITY_TRANSFER_INSTANCE_ID(v, output);
UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(output);

output.uv = TRANSFORM_TEX(v.texcoord0, _MainTex);
output.uv = v.texcoord0;
Copy link
Contributor

Choose a reason for hiding this comment

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

なるほど

@ousttrue ousttrue merged commit 341166c into vrm-c:master Sep 29, 2021
@ousttrue
Copy link
Contributor

#1225

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants