Aller au contenu

Photo

[SOLVED] .MAO Syntax to disable Tints


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Rameyuk

Rameyuk
  • Members
  • 13 messages
Hello,

From my understanding, Tints are designed to apply a particular armor with the look depending on the material types. For example, (by default) using a silverite armor would give a silvery look to the armor while a dragonbone armor would give a maroon look to the armor.

I also understand that .MAO files contain the reference of an item to its textures, all Diffuse, Normal, Specular, and Tints. My question is, I want to try to set custom items to have the exact same default appearance no matter what the material is. I have tried deleting the tint map .dds files, as well as modifying the .MAO file by deleting the reference to the tint map. It works in toolset where all materials keeps the appearance in the tooset viewer, but in game. The appearance change according to the materials used.

Is there a specific syntax that I need to put in .MAO file to specify that this item DOES NOT use any tint? Thanks :)

Modifié par Rameyuk, 30 septembre 2011 - 12:38 .


#2
DarthParametric

DarthParametric
  • Members
  • 1 413 messages
You can specify a different tint file that is all black (remembering that skin tints are controlled by the alpha channel). Alternatively, change the semantic to "NoTint". Although I'm not sure what effects that may have on any special armour shaders for the usual armour semantic.

#3
Rameyuk

Rameyuk
  • Members
  • 13 messages
Thanks, I used the "NoTint" semantic and it works :) Now the armor is on its intended diffuse texture which doesn't change no matter the materials.