I am trying to create a fog shader.
In the scene windows it looks like this which is more or less the intended effect. I have some errors with the cubes on the background, maybe I'm using the Screen Depth incorrectly.
![Image](https://scontent.fmex11-1.fna.fbcdn.net/v/t31.0-8/27164875_10155800623948964_4257581149029185364_o.jpg?oh=658a669233d81c84e433eaf62fc268f8&oe=5AF56512)
But in the game view it looks like this.
![Image](https://scontent.fmex11-1.fna.fbcdn.net/v/t31.0-8/27164591_10155800628473964_4475243942387334707_o.jpg?oh=1055de38ad0aa9130b90d58e8fc8125b&oe=5AE940D3)
Here is my graph.
![Image](https://scontent.fmex11-1.fna.fbcdn.net/v/t31.0-8/26962045_10155800638948964_4960066208324325708_o.jpg?oh=892fe2c02fc9eece1d41f6e02eb0da6f&oe=5AF2CE9F)
I don't know why this happens, if I only use the albedo input there is no error.
Is there something I am missing?