Your comments

After a little investigation is turns out the problem is visible when SSAO post-effect is activated on the game camera.

That's weird. As I said it wasn't causing any issue prior to 0.22...
The way to reproduce it is to:

1) Put a skybox on the game camera (to make things clearer).
2) Create a simple tessellation shader (with a height map) in SF.
3) Assign it to 2 cubes and place them next to each-other, so that only the tessellated parts nearly touch (not the cube base meshes themselves).

You should be able to see that the tessellated parts (which should fully occlude the skybox) look transparent.

And here's the shader settings I use:



Hey I just wanted to add that the problem is not exclusive to the GlobalFog script. Even without it, just using a skybox the problem is still there:



It is only compounded by using the fog script...

(I'm on Beta 0.22 and I'm in Linear color space)
I'm using the latest public version (0.19). The shader itself is a tessellation one, using the mesh vertex alpha to blend between two sets of textures.
Hi, I'm just curious about what this does. I mean what is this offset you mention, and how can we use it? Is this a new node, or a new behavior?
Thank you! I just redid all my shaders with Shader Forge. It's so great to just drag and drop nodes and have a visual feedback right away...
Forward. This time I triple-checked. ;)
Yes, for now I'll use the distance graph you posted in the thread, thanks. And I just want to add that I really truly love SF. I wish it would have existed a year ago, when I was learning the basics of Unity.

If the Unity peeps have any clue they'll ask you to include SF as part of Unity, as it is in dire need of such an artist-friendly tool for developing shaders!
I understand. And I know that Unity is still widely regarded as an engine to develop little games for mobile phones. But I'm using it to develop a game called "Ghost of a Tale" and using Shader Forge to develop proper tessellation shaders is the reason why I bought it.

So I can only beg you to please not relegate that request to the bottom of the feature request list. Thank you!