Modcraft - The community dedicated to quality WoW modding!
Content creation => Modelling and Animation => Topic started by: larrylaffer on June 28, 2012, 04:57:56 am
-
Hello,
I ported the Fire Raven God of Cataclysm into WoTLK with 010 Editor. However, the textures of the creature doenst look good:
(http://img542.imageshack.us/img542/2010/wowscrnshot062712195936.jpg)
(http://img137.imageshack.us/img137/6329/wowscrnshot062712195954.jpg)
As you can see... the Fire Textures of the model doenst Fade.
I tried to modify several attributes in the Skin Files with the Skin Template in the 010 Editor, and also change the rendering... however i dindt manage to properly fade the textures.
If someone knows how to properly fix this, i will be very gratefull
Here's the model ported to WoTLK:
http://www.mediafire.com/?2hjrpaa46mkwhp9 (http://www.mediafire.com/?2hjrpaa46mkwhp9" onclick="window.open(this.href);return false;)
Most Regards
-
RenderFlags in the M2.
-
I already tried all the render types in the M2, but none gives the fade effect in the fires. The additive alpha makes the darker part of the fire transparent, but it still seems like a square without any fade.
If you know wich flags i must change, please tell me.
Regards
-
I already tried all the render types in the M2, but none gives the fade effect in the fires. The additive alpha makes the darker part of the fire transparent, but it still seems like a square without any fade.
If you know wich flags i must change, please tell me.
Regards
modulate 2x + no depth test
or
addtive + no depth test + two sided
-
Not sure if the converters CAN handle those types of vertex blended transparent models properly.
-
modulate 2x + no depth test
or
addtive + no depth test + two sided
I tried both of them already, none worked.
I dont think the problem is in the render flags, but probably in the .Skin Flags uchar flags2 and uint16 order flag, specially the order flag cuz this flag always have a very high number in cataclysm (like 32k), and i change it to 0 in order to fix the texture in-game.
I thinks this flags are used to activate the shader, as explained here:
http://www.pxr.dk/wowdev/wiki/index.php ... ture_units (http://www.pxr.dk/wowdev/wiki/index.php?title=M2/WotLK/.skin#Texture_units" onclick="window.open(this.href);return false;)
However, i dont understand very well the explanation and i dindt manage to work out the shader effect... feel free to download the model and try to fix it.
-
Well.. after looking into this stuff for a while, and realizing, and trusting your investigation...
I saw what you said on the fading in the .skins,
"0x02 uint16 Shading If set to 0x8000: shaders. Used in skyboxes to ditch the need for depth buffering. See below."
0x8000 is 32768 in decimal. The model won't load ingame if "order" is left as 32768...
Mm, I'll keep looking.
-
Right, sorry for double post.
I tried setting the "Order" in the skin files on the "animated" textures to 32768, as the wiki defines, 32768 is shading.
This makes the animated textures "disappear". Now, the model doesn't look too bad, but I'd prefer it with the animated fire.
I think there are two solutions. Wotlk doesn't support 32768 (shading), either that or there must be a way to set the AMOUNT of shading.. Perhaps there is another field that you have to lower, or higher the shading that occurs.
Here's a pic anyway..
(http://imagr.eu/up/5051d53c2f99e2_WoWScrnShot_091312_144234.jpg)
http://imagr.eu/up/5051d53c2f99e2_WoWSc ... 144234.jpg (http://imagr.eu/up/5051d53c2f99e2_WoWScrnShot_091312_144234.jpg" onclick="window.open(this.href);return false;)
Soldan