Open Winter732 opened 5 months ago
Unfortunately only PNG, JPG or TGA files are supported at the moment. Unity only supports loading PNGs and JPGs on-the-fly, and TGA files needed an extra library. Also the MAT files from Source aren't used currently, this will only look for an image with the name. I don't know how to add support for VTFs without adding a lot of bloat and running into code licensing issues.
I've been considering adding some support for reading MAT files, since they're just text. It would help me set up the Unity materials with a proper shader rather than using the standard for everything. Things to consider.
ok, so I'll have to change my VTF files to TGA. Can you give me the name of the extra library so that Unity and BSPimporter can work with TGA files?
It's built-in. Once you've converted the files you should be good to go.
I still have the issue I converted all my vtf files to tga but still the same issue the materials are black and yellow as in the pictures. i don't understand, do i need to install something extra for the tga files?
UP. Even converting the tga to png still doesn't work. I don't understand, is it the BSP's fault?
It seems that the program can't find a texture after checking that it exists, which means that the program doesn't know the real name of the file. For your information, during conversion it was not modified. how to give it the right name? It does exist and can be found in the file used for "Import texture file".
Hello I have an issue with BSPimporter almost the same as the “File could not be loaded” issue opened by “amuDev” but I was unable to resolve it.I'm on the unity 2021.3 version and the map does not load. here are my errors
And my parameters
Obviously the files exist, that's why I don't understand should I convert all my vtf files to tga with vtf2tga as in the other case?
Also the materials that convert look like this it's not normal
Have I misunderstood how to use BSPimporter or is this a bug? I'm new to github and I'm not used to using this type of script, That's why I couldn't solve the issue, I think.