powroupi / blender_mmd_tools

mmd_tools is a blender addon for importing Models and Motions of MikuMikuDance.
GNU General Public License v3.0
1.83k stars 277 forks source link

Weird black color on some materials #235

Closed KianaKaslana638 closed 5 years ago

KianaKaslana638 commented 5 years ago

Something's weird is going on in my downloaded model. The materials node shows nothing where this black color coming from, and neither disabling the toon and the sphere texture nor bypassing the MMDShaderDev with a diffuse BSDF with the main base texture connected to the color node.

Here are the examples:

need to debug this4 rendered image (with the noticeable darkening)

need to debug this2 shown with my default shading window

need to debug this3 view from the material node editor

Tested on the beta Blender 2.8 (Beta 2019-04-26) on Ubuntu 18.04.1 64-bit And I'm currently testing this also on the Blender 2.8 Release Candidate 2.

nagadomi commented 5 years ago

All faces in the dress are not connected, and the normals are weird. Texture can be displayed with turn off Object Data Tab > Normals > Auto Smooth on blender.

powroupi commented 5 years ago

I think it's a fake velvet effect which does not work on Path Tracing rendering. So you may either fix mesh's normals or modify shader nodes of MMDShaderDev (connect a corrected normal to Diffuse/Glossy shader's [Normal] input). :)

KianaKaslana638 commented 5 years ago

May I ask... Why mmd-tools sometimes loads nonexistent textures?

nagadomi commented 5 years ago

Regarding the above model, some file paths for toon textures are incorrect. I think it is a problem in the model.