Author Topic: Pink Water  (Read 4196 times)

0 Members and 1 Guest are viewing this topic.

Offline Glenn

  • Vendor
  • ***
  • Posts: 83
Re: Pink Water
« Reply #15 on: May 17, 2017, 06:45:46 PM »
I think there may be a minor error in the coding used to create the water of the game.

When I place a canal piece on a river the water matches perfectly, however when i place a piece on the land the water in the canal  is a silvery colour.

Similarly if you place a piece partly on a river and the land you get both colours appearing.


Offline calli74

  • Vendor
  • ***
  • Posts: 52
Re: Pink Water
« Reply #16 on: May 17, 2017, 07:15:01 PM »
I switched to DX9 then I get a silvery colour, with DX 11 I get the pink. I've been trying to test tonight while it's too hot to sleep to see if I could find a graphic setting on my driver software that would make it work but apart from getting the silver with DX9 which looks better but still not quite right, nothing else helped.

Online brads3

  • Banished Expert
  • *****
  • Posts: 1429
Re: Pink Water
« Reply #17 on: May 17, 2017, 07:16:15 PM »
hmmmm sounds like our last president. everything was umm rainbow colored.

Offline Bartender

  • Coding Magician
  • Modders
  • Trader
  • *****
  • Posts: 176
Re: Pink Water
« Reply #18 on: May 18, 2017, 08:59:40 AM »
I think there may be a minor error in the coding used to create the water of the game.

I'm afraid it's not that simple, as the bug only occurs on certain systems. It's essentially a certain combination of code, hardware and possibly DirectX that's at fault here, Which is a very tough nut to crack. What complicates matters even further is that I can't reproduce the bug on my own pc, which means that trying to fix it is going to be a complete shot in the dark.

I switched to DX9 then I get a silvery colour, with DX 11 I get the pink. I've been trying to test tonight while it's too hot to sleep to see if I could find a graphic setting on my driver software that would make it work but apart from getting the silver with DX9 which looks better but still not quite right, nothing else helped.

Thanks for sharing, this is valuable information. There are some parts of the code that work differently depending on which DirectX version is used, so that might be where I need to search. Could you perhaps share a screenshot of the silver water with me? Just so I can see what it looks like. I'm also interested in seeing how the ground looks when the canal is removed again; is it also pink/silvery or is it the regular blue?

Offline calli74

  • Vendor
  • ***
  • Posts: 52
Re: Pink Water
« Reply #19 on: May 18, 2017, 12:05:59 PM »


Here is a screen shot for you, with one part demolished and where the gate is and it touches the real water, there you can see how the water should look, the rest is silvery or pink with DX11, this shot is with DX9c

Online brads3

  • Banished Expert
  • *****
  • Posts: 1429
Re: Pink Water
« Reply #20 on: May 18, 2017, 12:47:57 PM »
looks like it has to do with areas that don't have water normally. is there a way to make a mod that will add the new water to the entire map so when the canals are used it would look normal? or just stretch the water texture in the game to full map size? might be the easiest solution.

Offline elemental

  • Trader
  • ****
  • Posts: 464
Re: Pink Water
« Reply #21 on: May 18, 2017, 03:29:40 PM »
looks like it has to do with areas that don't have water normally. is there a way to make a mod that will add the new water to the entire map so when the canals are used it would look normal? or just stretch the water texture in the game to full map size? might be the easiest solution.

Now that would be good. Sounds like it might be difficult to achieve, but who knows...

Online RedKetchup

  • Champion
  • Banished Expert
  • *****
  • Posts: 7358
Re: Pink Water
« Reply #22 on: May 18, 2017, 07:16:47 PM »
not really. on the entire map the water will flow in ONE direction, entirely. thats nobody wants. streams should go as you want turn here turn there.
with 1 covering the map, the entire map will be one way from point 0,0 to 1024,1024 ^^
> > > Support Mods Creation developments with Paypal Donations < < <
Click here to PayPal Donate.

Offline ancientmuse

  • Trader
  • ****
  • Posts: 143
Re: Pink Water
« Reply #23 on: May 19, 2017, 12:09:01 AM »
I've got the pink water problem too, and I notice that it only goes pink on the land areas but not the spots where it's linked to the regular water areas.

System:

AMD Phenom II x6 Core Processor
16 GB ram
Win 7 o/s


Graphics Card:

AMD Radeon HD 6900

Offline calli74

  • Vendor
  • ***
  • Posts: 52
Re: Pink Water
« Reply #24 on: May 19, 2017, 12:14:30 AM »
I guess we better send all these naughty AMD cards to stand in the corner. Maybe I will get an nvidia next time. My husband just got a shiny new computer, so now it's my turn for upgrades, but will have to wait a while. My specs are
AMD FX 6300
8gb ram
AMD 7700
Windows 10 home.

Offline Bartender

  • Coding Magician
  • Modders
  • Trader
  • *****
  • Posts: 176
Re: Pink Water
« Reply #25 on: May 19, 2017, 04:08:43 AM »
Thanks for the information everyone! I'm starting to get some ideas as to what the problem is. The next step would be finding a solution.

There's a few hypotheses I have so far. I've added some questions that I have for each, answers to any of those would be a great help in figuring out this problem!

1. It appears that the problem only occurs on systems with AMD graphic cards.
- Is there anyone with an AMD card that does not have this problem?
- Is there anyone with a card that is not an AMD that has this problem?

2. using DX9 consistently gives the water a white (silvery) colour, dx11 consistently gives magenta (pink).
- Is there anyone who has the problem, but the behaviour is different than I described here?

3. The problem appears to be related to the semi-transparent nature of the water texture.
- I've read somewhere that the problem did not occur for the irrigation system made by embx, can anyone confirm this?
- Are reflections and underwater textures (parts of the walls in the canals) still visible?

« Last Edit: May 19, 2017, 04:15:10 AM by Bartender »

Offline Paeng

  • Banished Expert
  • *****
  • Posts: 1307
Re: Pink Water
« Reply #26 on: May 19, 2017, 04:55:44 AM »
1) can't say, integrated graphics (Intel HD 3000); i5 2430M (2.4GHz), ACPI 64-based PC

2) yes, confirmed - silver on dx9c, pink on dx11

3) yes, Embx Irrigation looks the same on dx9 or 11, same with Necora terraforming items

* Though not quite sure what you mean by this - here a screenshot (attached) -

- Are reflections and underwater textures (parts of the walls in the canals) still visible?


Hth  :)


Heads are round so thoughts can take a turn

Offline Discrepancy

  • Modders
  • Architect
  • *****
  • Posts: 591
Re: Pink Water
« Reply #27 on: May 19, 2017, 06:10:52 AM »
I can confirm it must be AMD...

http://i.imgur.com/3WPfhj2.jpg
Pink Water

http://i.imgur.com/ZPYn9XW.jpg
Pink Water


AMD FX-6300 6-core 3.5GHz processor
16gb ram
Win10

Online RedKetchup

  • Champion
  • Banished Expert
  • *****
  • Posts: 7358
Re: Pink Water
« Reply #28 on: May 19, 2017, 06:17:08 AM »
tommorow i ll give you a test.pkm to try :)
i want to test something. when i mean tomm.... it is i am not gone to bed yet, so after the bed and 4-5 coffee after ^^
> > > Support Mods Creation developments with Paypal Donations < < <
Click here to PayPal Donate.

Offline Necora

  • Modders
  • Trader
  • *****
  • Posts: 479
Re: Pink Water
« Reply #29 on: May 19, 2017, 08:45:16 AM »
AMD A10-8700P Radeon R6, 10 Compute Cores, 12GB RAM, 64 bit windows 10.

I get the silver on DX 9c and the Pink on DX 11.

Although, on DX 9C if I zoom out as far as possible it looks better. Also, having shadows turned on or off makes no difference, but having reflect everything turned on seems to make the reflections of the walls and trees look OK but not the rest.