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

MMDLoader: Handle shininess properly #23889

Merged
merged 1 commit into from
Apr 12, 2022
Merged

Conversation

takahirox
Copy link
Collaborator

Related issue: #23855

Description

MMDToonMaterial is derived from MeshToon/Phong/MatcapMaterial. Similar to MeshPhongMaterial, shininess should have lower limit to prevent pow(0.0, 0.0) in the shader code.

MMDToonMaterial is derived from MeshToon/Phong/MatcapMaterial.
Similar to MeshPhongMaterial, shininess should have lower limit
to prevent pow(0.0, 0.0) in the shader code.
@mrdoob mrdoob added this to the r140 milestone Apr 12, 2022
@mrdoob mrdoob merged commit 1ec5245 into mrdoob:dev Apr 12, 2022
@mrdoob
Copy link
Owner

mrdoob commented Apr 12, 2022

Thanks!

@takahirox takahirox deleted the MMDShininess branch April 12, 2022 17:50
abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
MMDToonMaterial is derived from MeshToon/Phong/MatcapMaterial.
Similar to MeshPhongMaterial, shininess should have lower limit
to prevent pow(0.0, 0.0) in the shader code.
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