Question by
Derek_Knochel · Sep 12, 2016 at 09:34 PM ·
fogscreenspace
use the skybox texture for screenspace fog
I want to set up screenspace fog that uses the scene's skybox to get the fog color. So objects that are obscured by the fog should blend directly into the skybox, and if there is a cloud on the skybox then that cloud will seem like it surrounds the foggy object. Does anyone know how this could be done or if anything like this already exists? I'm new to programming, but I'd be up for trying to write this if someone can explain how it'd be done.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612092707im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Sharp Cut-Out Height Fog? 0 Answers
Two fog color in the same scene 2 Answers
Unity UI does not visible when i drag using canvas set to screen space - camera 1 Answer
Fog effect not working in built exe 2 Answers
Excluding objects from fog 0 Answers