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

Convert normal texture without specific format #976

Merged
merged 1 commit into from
May 25, 2021

Conversation

Santarh
Copy link
Contributor

@Santarh Santarh commented May 25, 2021

Unity の UnityCG.cginc の法線解釈関数を利用する Unity のシェーダが求める法線マップの仕様は以下の 2 つのどちらか。

  • x, y, ?, 1
  • 1, y, ?, x

したがってテクスチャは通常の normal map x, y, z, 1 でもよい。

@Santarh Santarh requested a review from ousttrue May 25, 2021 08:51
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.

normalize しているだけ、ぽい

@ousttrue ousttrue merged commit 800ec4b into vrm-c:master May 25, 2021
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