spimort/TerraBrush

Error when having more than 4 textures

Closed this issue · 7 comments

When I add more than 4 textures I get this error and the map becomes invisible, I also found that a new empty Splatmap is created and added to the splatmaps array and when I delete it the main map appears again and everything works fine, so how to add more textures without facing this problem again ?
Capture

Hey @EmineBS !

In your fifth textureset, make sure you provide the same kind of textures you do for the others.
Meaning that you need to provide at least the albedo. If in the others you provided a normal map, you need to provide one as well. If you provided a roughness texture, you need to provide one as well for the new one. And so on.

Can you confirm me everything as been set this way? 🙂

Yes I placed all the textures correctly, even when I try to assign the same texture from textureSet 4 to textureSet 5, the error appears again and a new empty Splatmap is added and I can't delete it only when I delete textureSet 5.

Alright, would you be able to share the project with me? I could check what is happening 🙂

Any news on that @EmineBS ?

image
Check the settings on all of them. Godot is weird.

Solved! Yes, all imported textures must be on the same import settings, even if there is any small thing different from others, this error will appear, to avoid problems when importing textures, go to Project Settings -> Import Defaults -> Importer: Texture2D and set all parameters like this:

image

Alright thanks @EmineBS for the info about the defaults 🙂