# Color banding in very large scene

**URL:** <https://forums.unrealengine.com/t/color-banding-in-very-large-scene/376335>\
**Category:** Rendering\
**Tags:** Post-Processing, unreal-engine, Fog-Effects, question\
**Created:** [November 15, 2016, 9:16am UTC](https://forums.unrealengine.com/t/color-banding-in-very-large-scene/376335 "2016-11-15T09:16:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skippy\_dodley](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skippy\_dodley](https://forums.unrealengine.com/u/Skippy_dodley)\
**Post date:** [November 15, 2016, 9:16am UTC](https://forums.unrealengine.com/t/color-banding-in-very-large-scene/376335/1 "2016-11-15T09:16:09Z")

</div>

I’m trying to use fog effects (AtmosphericFog, ExponentialHeightFog and screen-distance PostProcessVolume) in a very large level, but I’m getting pretty heavy color banding with all 3 effects. The player will be playing in a floating area with a gigantic corridor around him, out of his reach. I’m trying to make a eerie, foggy, very long and tall corridor with a bright end very far away. I did a series of test and so far here are my conclusions.

1. The banding gets much worse the wider the end of the corridor is.
2. The banding gets worse as the distance he can see increases.
3. The colors definitely exist but U4 isn’t using them, either because it would be too costly or due to a bug.

Narrow corridor end.

 ![114943-narrowcorridor.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/3/7/0376a63584e5066b486fc4bbbe6daeafb10d5dbe.jpeg)

Wide corridor end.

 ![114945-widecorridor.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/6/7/b6714b0b53d4c400d31ae78e93039d6cf3814b55.jpeg)

What I’m trying to get.

 ![114946-blurryvsbanding.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/6/fe66a1f269efda6ff2f4a58266088558e80ccb45.jpeg)

This is the whole thing from the outside scaled down. The whole corridor is about 10km long normally.

 ![114947-outsideview.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/7/f/37f8f6f4d3b98c4ef78ff54bc171a8a01e01767b.jpeg)

Is there a setting that would increase the quality of the gradient ? While I understand that the fog effects might not be meant for such extreme distance, I find it weird that the engine simply doesn’t use the colors that it would need for a smooth gradient.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_eeeff337](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_eeeff337](https://forums.unrealengine.com/u/anonymous_user_eeeff337)\
**Post date:** [January 15, 2017, 4:44pm UTC](https://forums.unrealengine.com/t/color-banding-in-very-large-scene/376335/2 "2017-01-15T16:44:39Z")

</div>

I think the banding is caused by floating point precision, try applying the effect in a post process material instead a giant mesh. You could do something like this using the absolute of the dot product of the camera vector and the direction your corridor end is in  
in code:  
`abs(dot(cameravector, corridorDirection)`
