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] Visual Artifacts - Cata Style Water in WotLK  (Read 2475 times)

samgartell

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 92
    • View Profile
[QUESTION] Visual Artifacts - Cata Style Water in WotLK
« on: July 11, 2013, 11:55:57 pm »
I'm trying to use the Basic Procedural Water row in LiquidType.dbc to replicate Cata styled water, but I'm getting strange artifacts such as this:


Not only is it creating the purple/white/pink colours, it's basically killing antialiasing around terrain, not sure if that's a normal thing, but the bright colours and the compressed look of the water isn't.

I assume the compressed look is being caused by the water texture being 256*256 so stretching is occurring.

In the attachment is the original PNG, the BLP and LiquidType.dbc. Presumably somebody who understands it more can tell me where it's going wrong, or more likely, where I'm going wrong.

EDIT: Another question, which column does it inherit the specular map from? Column 16 seems most likely, but column 16 refers to ProceduralDepth textures, and I'm not even sure where they're stored, they don't include a filepath, are they stored in-engine?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Visual Artifacts - Cata Style Water in WotLK
« Reply #1 on: July 12, 2013, 08:10:16 am »
ProceduralDepth textures not being a file is the whole idea behind _procedural_ shaders. They are generated on the fly. That's also the problem when trying to use them in 3.3.5a since triggering generating these correctly is not trivial, to my knowledge. The visual artifacts may just be a bug in the shader itself.
I'm impressed you got that far.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Visual Artifacts - Cata Style Water in WotLK
« Reply #2 on: July 12, 2013, 08:54:47 am »
Perahps stupid question. But the shaders are in MPQs. Is it possible to create own.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Visual Artifacts - Cata Style Water in WotLK
« Reply #3 on: July 12, 2013, 09:35:19 am »
Quote from: "Steff"
Perahps stupid question. But the shaders are in MPQs. Is it possible to create own.
In case the last part was meant to be the question: Yes, you can, if you are able to write a shader using the same attributes given for the original ones and understand the BLS format.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

samgartell

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 92
    • View Profile
Re: [QUESTION] Visual Artifacts - Cata Style Water in WotLK
« Reply #4 on: July 12, 2013, 12:59:38 pm »
Quote from: "schlumpf"
ProceduralDepth textures not being a file is the whole idea behind _procedural_ shaders. They are generated on the fly. That's also the problem when trying to use them in 3.3.5a since triggering generating these correctly is not trivial, to my knowledge. The visual artifacts may just be a bug in the shader itself.
I'm impressed you got that far.

Ah, that's slightly disappointing, Thanks. And thank you?

Perhaps using the default ocean shader with a plain blue texture is the way to go for the closest effect. I'll make a few more attempts to improve on it, maybe look into WoW's shaders more. Would be nice to recreate the vertex animation and shoreline effect eventually. But right now it all seems like a headache waiting to happen.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Visual Artifacts - Cata Style Water in WotLK
« Reply #5 on: July 12, 2013, 01:22:03 pm »
Quote from: "samgartell"
Perhaps using the default ocean shader with a plain blue texture is the way to go for the closest effect.
Most people do that.
Quote from: "samgartell"
Would be nice to recreate the vertex animation and shoreline effect eventually.
Shoreline won't happen as you don't have the depth-of-water-information, if you don't have the procedual texture, I guess. Also, they added that later.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Gurluas

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 344
    • View Profile
Re: [QUESTION] Visual Artifacts - Cata Style Water in WotLK
« Reply #6 on: July 12, 2013, 01:35:13 pm »
It tends to look more like glass. I wish there was a way to port the data we need from the Cata Alpha, they're still pretty similar.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

samgartell

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 92
    • View Profile
Re: [QUESTION] Visual Artifacts - Cata Style Water in WotLK
« Reply #7 on: July 12, 2013, 02:19:20 pm »
Quote from: "schlumpf"
Quote from: "samgartell"
Perhaps using the default ocean shader with a plain blue texture is the way to go for the closest effect.
Most people do that.

I've just tried it, getting some strange artifacts on that too.


Going to try a blue caustic sequence with as little possible contrast, and see if it creates a nicer effect.

Is there any way to get the shader to render a bump/normal map sequence along with a diffuse?

Quote from: "Gurluas"
It tends to look more like glass. I wish there was a way to port the data we need from the Cata Alpha, they're still pretty similar.

That's true, but it's a big improvement over the water we have now, with a normal map running over the diffuse, it'd look like cataclysm water even more-so.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »