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] Recolor Water  (Read 2253 times)

Namok

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 85
    • View Profile
[QUESTION] Recolor Water
« on: July 07, 2014, 02:49:28 am »
hello guys, I was wondering how could I recolor the water from Wow ? Wich files I have to edit, maybe someone knows ?
I saw this link and the guy did this on a 2.4.3 server I'm curious because I work on a 2.4.3 version too
Thank for reading,
Namok
http://www.ownedcore.com/forums/world-o ... tions.html
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Food, food, food.

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Recolor Water
« Reply #1 on: July 07, 2014, 06:51:20 am »
1 the water texture in general
2 the light change the water color.  So all light dbcs
« 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

Namok

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 85
    • View Profile
Re: [QUESTION] Recolor Water
« Reply #2 on: July 07, 2014, 09:30:13 am »
Thank for your rep, I found the Texture folder and the water BLP files, I'm a little bit curious about the light DBC files, and about the animation of the water. Or maybe it depends of the shaders from the client ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Food, food, food.

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Recolor Water
« Reply #3 on: July 07, 2014, 05:44:40 pm »
Wow dev wiki.  Just all files with light in front.
« 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

happyhack

  • Contributors
  • Race Changer
  • *****
  • Posts: 38
    • View Profile
Re: [QUESTION] Recolor Water
« Reply #4 on: July 09, 2014, 05:21:56 pm »
heya,
water animation is a sequence of blp file.
This can be achieved through shader modification too, with the advantage of allowing deeper modifications (although it can necessite client changes if the shader need more data) i did this some time ago.
Until cataclysm bls content is just compiled shader bytecode, for directX take a look at D3DDisassemble, that gives u shader asm code, then use D3DXAssembleShader to recompile. Dont know for openGL. As far as i know windows version use directX while mac use openGL. So if u want to distribute it u should modify both shaders.

Result is really ugly, but it does work.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Namok

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 85
    • View Profile
Re: [QUESTION] Recolor Water
« Reply #5 on: July 09, 2014, 05:38:58 pm »
That proves it can work, I'll take a look for this when I get more time, thank for your indications guys !!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Food, food, food.

Namok

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 85
    • View Profile
Re: [QUESTION] Recolor Water
« Reply #6 on: August 14, 2014, 02:48:48 am »
HI guys I'm back and ready to work on it. I did some tests to recolor the water, but I would like a realistic result as close as Cataclysm water. Maybe it could be insane or crazy but I think it is possible to have a better result, the thing is I don't understand how it works.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Food, food, food.

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Recolor Water
« Reply #7 on: August 14, 2014, 07:32:42 am »
Just use the water change release and fix lights.
« 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