wikid24 / ffxiv_mmd_tools_helper

A powerful blender addon to convert FFXIV Models to MMD models in a few simple clicks
Other
36 stars 1 forks source link

Flickering textures when imported into MMD #3

Closed HadesandAzemCausingProblems closed 11 months ago

HadesandAzemCausingProblems commented 11 months ago

Tool works great and I am absolutely in love with it but some gear and clothing textures flicker when ported into MMD but looks and works fine in blender. Textures also do not flicker in PMX Editor. Unsure if this is a problem on my end or a issue with the plugin. texture flick 1 texture flick 2 texture flick 3

wikid24 commented 11 months ago

Hmm I am not sure, as I haven't been able to reproduce the issue on my end. PMX Editor is where I would go to investigate but I usually only go so far as check to make sure that all of the MMD necessities are included in the FFXIV rig for export to PMX,

Perhaps might want to ask the MMD Tools folks over on Discord?

Best I can do is provide a link MMD & Blender Discord Server, and please let me know if you find a solution, I will add it to the FAQ!

HadesandAzemCausingProblems commented 11 months ago

Hi! I went to the discord link you sent and someone mentioned the flickering issue had something to do with face overlapping and the fix is to separate or remove them, I tried removing by:

going into edit mode

pressing F3

selecting the mesh with A

and typing in the search box, Mesh cleanup, merge by distance and selecting that.

While this did solve the flickering issue, it sort of ruined the texture of the clothing, I even applied raycast over it to see if it would fix it somehow but that also didn't work. texture flick fixed but not really

wikid24 commented 11 months ago

oof ok yeah I'm not sure about the exact issue, but I do know that 'merge by distance' in blender usually never works the way I want it to when I use it for other reasons, but since someone mentioned it is a face overlapping issue, perhaps it can be fixed by setting 'backface culling' in the materials panel to 'on' in blender before export to PMX? I don't know if that particular flag is exported to MMD Tools the file PMX export, but it's worth a shot

image

HadesandAzemCausingProblems commented 11 months ago

Hi, so the backface culling enabled didn't work no matter if it was turned on or off, what did work was simply joining the materials of the gear together...I could've sworn I tried that method before but guess not. I feel like a idiot lol. texture fixed

wikid24 commented 11 months ago

nice, congrats on solving it! Yeah I usually avoid joining meshes in Blender as usually each mesh has different material properties and texture files associated with it, but I guess in this scenario it works fine :D