This is possibly an issue with the format of the texture file. Did you ensure that you had the following settings selected for your .dds file when you exported it (assuming GIMP, but other exporters have similar options).
Compression: BC1 / DXT1
Generate MipMaps: Ticked
Alternatively, you also have to ensure that your new material file references the file correctly. While the texture should be a .DDS file, your material definition has to point to a .TGA file. It's also worth checking that the diffuseMap path is correct - it's easy to forget to add mod_assets/ at the start of that path.
Also, if this is a new model after retexturing - make sure that your material name in the GMT and the material name in your Lua file match up. They have to be exactly the same.
My Grimrock Projects Page with links to the Grimrock Model Toolkit, GrimFBX, Atlas Toolkit, QuickBar, NoteBook and the Oriental Weapons Pack.
I have checked over everything and it is all done correctly. The textures work when applied to other wall-sets, but when using my own models, they don't work.
1. The material name on the model is correct and is the same as the material name in the materials.lua (capitalization matters! - in case you use my material names, they are capitalized).
2. The path to the texture in the material.lua is correct.
From my own experience in most cases unexplainable errors like this one are caused by overlooking something very simple, like a letter that is not capitalized, forgetting a letter, a slash etc. You look at it and you think everything is correct, you look at it again and everything seems correct and then you notice it...ooops. Other than that there is not really an explanation I could think of if the textures work on other models.
Phitt wrote:
From my own experience in most cases unexplainable errors like this one are caused by overlooking something very simple, like a letter that is not capitalized, forgetting a letter, a slash etc. You look at it and you think everything is correct, you look at it again and everything seems correct and then you notice it...ooops. Other than that there is not really an explanation I could think of if the textures work on other models.
Aha! When defining my materials, "name = " was slightly different to the file name.
Nice idea kuningas but it made me think it looks like something out of Quantum Conundrum. It really does look good even though I know it's a mess up. Hope you get the textures on. (sorry I can't help.)