Hello. How can I get a similar result (like fog) using camera clipping?
Camera far clipping gradient
1654 3 1- LuSkar
- Member
- 28 posts
- Joined: 5月 2014
- Offline
- Konstantin Magnus
- Member
- 670 posts
- Joined: 9月 2013
- Offline
There is a depth position output in the surface globals in mat context. You can remap it with fitrange and control the fading with a power function.
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
- LuSkar
- Member
- 28 posts
- Joined: 5月 2014
- Offline
- Konstantin Magnus
- Member
- 670 posts
- Joined: 9月 2013
- Offline
Just replace the pbrdiffuse node with a volumeshadercore then.
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
-
- Quick Links