lasa01 / Plumber

A Blender addon for importing Source 1 engine maps, models, materials and textures. This addon makes it possible to import full CS:GO, TF2, CS:S or other Source 1 game maps into Blender.
MIT License
396 stars 29 forks source link

Vertex colors of displacements not importing #53

Closed LethalDumpster closed 3 years ago

LethalDumpster commented 3 years ago

Same map file as the other post: https://github.com/lasa01/io_import_vmf/issues/48#issuecomment-735468684

At these settings, there simply arent any vertex colors. https://i.imgur.com/vtQBSyy.png https://i.imgur.com/BfFJaCH.png

In part response to your email: ".gltf instead of .fbx" unfortunately wont do much. FBX does support vertex colors. I think the issue came to armatures. Of which was UE4s fault for breaking on import, and they have since patched the issue.

lasa01 commented 3 years ago

The blended texture weight is imported into the alpha channel of the vertex color, so you won't be able to see it in the viewport. Not sure if this is an issue, seems that at least fbx should be able to support the vertex alpha channel for exporting.

LethalDumpster commented 3 years ago

Righto, forgot vertex colors support alpha channel. Yup, FBX supports it perfectly fine. image