Jump to content

Texture which doesn't suit setting


cp702

Recommended Posts

When I try to export from Zmodeler, I get a ton of errors along the lines of "using texture foo which doesn't suit the setting for shader bar". Anyone know what causes them and how to fix them?

Link to comment
Share on other sites

That means your materials aren't setup the right way. They need to be in this order:

Your basic texture (UV#1 Mod)

Your dirt texture (UV#2 M/A)

Your nrm texture (UV#1 DontProduct3)

Your spec texture (UV#1 Spec M/A)

Uncheck the nrm afterwards. All of the materials must be setup like that.

Link to comment
Share on other sites

Uncheck the nrm afterwards. All of the materials must be setup like that.

Not completely true. That's the setup for mesh materials and is also possible or at least similar for vehglass or lightsemissive.

Different material shaders need different setup, compare with default vehicles for correct setttings.

Link to comment
Share on other sites

Not completely true. That's the setup for mesh materials and is also possible or at least similar for vehglass or lightsemissive.

Different material shaders need different setup, compare with default vehicles for correct setttings.

Agreed.

Also, if there are a lot of materials with the same name, is that a problem?

Yes. Certainly.

Link to comment
Share on other sites

Actually not, as you maybe even require different settings (dirtmap, specmap etc.). Although, you could try to get the vehicle use only one of them, as unused materials won't be exported.

I believe he asked about materials not textures?

Link to comment
Share on other sites

I believe he asked about materials not textures?

Yes, he did. But a material contains different textures. The material name is the name of the first texture and the shader. If you have for example two generic materials with different specmaps, the first texture will stay the same and only the last would change. But they have the same name.

Link to comment
Share on other sites

Yes, he did. But a material contains different textures. The material name is the name of the first texture and the shader. If you have for example two generic materials with different specmaps, the first texture will stay the same and only the last would change. But they have the same name.

I'm catching your drift. However, I don't think zmod will allow exporting it that way.I might be wrong tho.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...