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

fix: MToon, Fix normal mapping when other textures are not specified #1410

Merged
merged 1 commit into from
May 21, 2024

Conversation

0b5vr
Copy link
Contributor

@0b5vr 0b5vr commented May 20, 2024

See: #1384 (comment)

Fix normal mapping when other textures are not specified.

This is because this.normalMap !== null did not perticipate in the condition of the MTOON_USE_UV flag.

Below is the screenshot of feature-test.html. Note that the blue ball that only specifies normal map has bumps correctly.

image

@0b5vr 0b5vr added the bug Something isn't working label May 20, 2024
@0b5vr 0b5vr added this to the next milestone May 20, 2024
@0b5vr 0b5vr requested a review from ke456-png May 20, 2024 08:43
@0b5vr 0b5vr self-assigned this May 20, 2024
Copy link
Contributor

@ke456-png ke456-png left a comment

Choose a reason for hiding this comment

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

NICE! 👍

@0b5vr 0b5vr merged commit 9e16c38 into dev May 21, 2024
6 checks passed
@0b5vr 0b5vr deleted the fix-mtoon-normal-uv branch May 21, 2024 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants