H2xDev / GodotVMF

A VMF importer for Godot Engine
MIT License
84 stars 5 forks source link

Incomplete model import. #21

Open SharkPetro opened 3 months ago

SharkPetro commented 3 months ago

I'm sorry for the long hold, I had trouble with college that I had to deal with first. Good job on improving the plugin by the way, I'm immensely happy with how nicely it's coming along.

Here's a list of issues and enhancement proposals for the model and material import:

Another thing, it's probably a dumb question but I want to know if it's even possible to somehow have shaders from the materials translated to compute shaders that can be used in Godot with any sort of accuracy, if at all.

H2xDev commented 3 months ago

For this issue we probably need full support of MDL format which is pretty complex task i believe. For me at least.

Another thing, it's probably a dumb question but I want to know if it's even possible to somehow have shaders from the materials translated to compute shaders that can be used in Godot with any sort of accuracy, if at all.

The class VMT of VTFTool.gd has a material mapping property materialMap where you can assign an another material class instead of StandardMaterial3D for specific shader as it made for WorldVertexTransition for blend textures. Need to create analogies of shaders from Source Engine and i suppose it should solve the problem with materials completely. For sure it's a complex task as well.