This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Fade effect in fire textures  (Read 3282 times)

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
[QUESTION] Fade effect in fire textures
« 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:





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

Most Regards
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Fade effect in fire textures
« Reply #1 on: June 28, 2012, 09:00:54 am »
RenderFlags in the M2.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
Re: [QUESTION] Fade effect in fire textures
« Reply #2 on: June 30, 2012, 03:18:03 am »
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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vel

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 340
    • View Profile
Re: [QUESTION] Fade effect in fire textures
« Reply #3 on: June 30, 2012, 06:31:51 am »
Quote from: "larrylaffer"
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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
is no more

Pinkhair3d

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 62
    • View Profile
Re: [QUESTION] Fade effect in fire textures
« Reply #4 on: July 01, 2012, 08:28:57 am »
Not sure if the converters CAN handle those types of vertex blended transparent models properly.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
Re: [QUESTION] Fade effect in fire textures
« Reply #5 on: July 02, 2012, 07:52:22 am »
Quote from: "Vel"

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.wowdev.wiki/index.php ... ture_units

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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Soldan

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 159
    • View Profile
Re: [QUESTION] Fade effect in fire textures
« Reply #6 on: September 13, 2012, 01:20:28 pm »
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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Soldan

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 159
    • View Profile
Re: [QUESTION] Fade effect in fire textures
« Reply #7 on: September 13, 2012, 02:45:19 pm »
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_WoWSc ... 144234.jpg

Soldan
« Last Edit: January 01, 1970, 01:00:00 am by Admin »