# Edges when using fogcolor

**URL:** <https://forums.chaos.com/t/edges-when-using-fogcolor/23554>\
**Category:** Issues\
**Created:** [March 24, 2010, 12:51pm UTC](https://forums.chaos.com/t/edges-when-using-fogcolor/23554 "2010-03-24T12:51:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pjkw](https://avatars.discourse-cdn.com/v4/letter/p/f475e1/32.png) [@pjkw](https://forums.chaos.com/u/pjkw)\
**Post date:** [March 24, 2010, 12:51pm UTC](https://forums.chaos.com/t/edges-when-using-fogcolor/23554/1 "2010-03-24T12:51:25Z")

</div>

I have a problem Ive encountered every time I try to do some nice ocean water, I then usually use 100% reflect, 100% refract, IOR of something like 1,33 and a blue fog color with different multiplier/bias depending on the situation.  
Doing this creates a beautiful ocean but when the waterplane goes into the shore I get a dark line. Anyone know of a solution for this?

In the attached image the left side is with fog multiplier of 0,4 and right side is fog multiplier of 0,0 (no fog)

edit: Ive also noticed that these edges show up in the Zdepth pass aswell, very wierd

 ![Capture..JPG](https://europe1.discourse-cdn.com/chaosprd/original/3X/a/7/a7b628f366424c06159f03dc315eba1220b5e02f.jpeg)  
 ![Clipboard03..jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/2/4/24e5a5ef982de1067248937b7b8ac3c029acc420.jpeg)

---

<div class="post-metadata">

**Author:** ![vaslavo](https://avatars.discourse-cdn.com/v4/letter/v/9f8e36/32.png) [@vaslavo](https://forums.chaos.com/u/vaslavo)\
**Post date:** [April 19, 2011, 12:22am UTC](https://forums.chaos.com/t/edges-when-using-fogcolor/23554/2 "2011-04-19T00:22:25Z")

</div>

I have search or try at avery place possible with no luck, if you find some solutions that isnt photoshop please share, ill be glad

---

<div class="post-metadata">

**Author:** ![Horizon](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Horizon](https://forums.chaos.com/u/Horizon)\
**Post date:** [April 25, 2017, 6:14pm UTC](https://forums.chaos.com/t/edges-when-using-fogcolor/23554/3 "2017-04-25T18:14:02Z")

</div>

Sorry to bring an old thread back to life. Has anyone figured this out? I’m having the exact same issue. As soon as I introduce a color to the fog that dark line shows up. In my scene all I have is a flat plane for the water running through a beach with a little slope to it.

 ![water_line.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/6/f/6f45dad52308cd6a46f46f7c47f9117608013537.jpeg)

---

<div class="post-metadata">

**Author:** ![svetlozar.draganov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/svetlozar.draganov/32/53004_2.png) [@svetlozar.draganov](https://forums.chaos.com/u/svetlozar.draganov)\
**Post date:** [April 26, 2017, 11:56am UTC](https://forums.chaos.com/t/edges-when-using-fogcolor/23554/4 "2017-04-26T11:56:58Z")

</div>

Drop the shadow bias of the main light in the scene to something very low like 0.001 and that line should fade away.

---

<div class="post-metadata">

**Author:** ![Horizon](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Horizon](https://forums.chaos.com/u/Horizon)\
**Post date:** [April 26, 2017, 4:46pm UTC](https://forums.chaos.com/t/edges-when-using-fogcolor/23554/5 "2017-04-26T16:46:50Z")

</div>

The line did indeed fade away! Thanks!
