[problem] White models.

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
Rook
Posts: 71
Joined: Thu Dec 06, 2012 5:48 pm
Location: Belfast, UK

[problem] White models.

Post by Rook »

Does anybody know what is causing this to happen?

They are altered models from Phitt's Mine wall set.

I have attached my own textures to them, but they just seem to be glowing white.

Image
http://i.imgur.com/IaYR3.jpg
User avatar
JohnWordsworth
Posts: 1397
Joined: Fri Sep 14, 2012 4:19 pm
Location: Devon, United Kingdom
Contact:

Re: [problem] White models.

Post by JohnWordsworth »

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.
User avatar
Rook
Posts: 71
Joined: Thu Dec 06, 2012 5:48 pm
Location: Belfast, UK

Re: [problem] White models.

Post by Rook »

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.
User avatar
Phitt
Posts: 442
Joined: Tue Aug 14, 2012 9:43 am

Re: [problem] White models.

Post by Phitt »

Double check that

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.
User avatar
Rook
Posts: 71
Joined: Thu Dec 06, 2012 5:48 pm
Location: Belfast, UK

Re: [problem] White models.

Post by Rook »

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.
User avatar
Kuningas
Posts: 268
Joined: Wed Apr 11, 2012 10:29 pm
Location: Northern Finland

Re: [problem] White models.

Post by Kuningas »

Woah, this just gave me an idea for an "Echo Base" tileset... Or "Ice Cave" if you don't speak Starwarsese. : D

If I just had the time. Alas, I am kind of stuck for a week from now.
BASILEUS
User avatar
Asteroth
Posts: 471
Joined: Wed Oct 24, 2012 10:41 am
Location: Eastern U.S.

Re: [problem] White models.

Post by Asteroth »

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.)
I am the God of darkness and corruption.
viewtopic.php?f=14&t=4250
User avatar
Rook
Posts: 71
Joined: Thu Dec 06, 2012 5:48 pm
Location: Belfast, UK

Re: [problem] White models.

Post by Rook »

Yeah, I got the textures sorted.

@Kuningas
I'm glad to see somebody got something useful out of this thread! haha
I look forward to seeing your Echo Base tileset. To Hoth!
User avatar
Kuningas
Posts: 268
Joined: Wed Apr 11, 2012 10:29 pm
Location: Northern Finland

Re: [problem] White models.

Post by Kuningas »

Rook wrote:Yeah, I got the textures sorted.

@Kuningas
I'm glad to see somebody got something useful out of this thread! haha
I look forward to seeing your Echo Base tileset. To Hoth!
Now you know I'm gonna have to do it. : D
BASILEUS
Post Reply