Your comments

forward rendering.

sometime a picture says more than a 1000 words;P
This will do it based on the distance; don't need a slider;P

I have a material that does something like HDR , so when you are inside a structure and look outside everything looks over bright and the material fades when you get closer. So in this case I don't use a texture;) But thx anyway:)

You understood perfect what I tried to explain:) After some more research I found why I though it did not work. The transmission color seems to canceled out by real time shadows from a directional light ?

And an other suggestion about the value node is to rightclick to convert the node to a parameter node.

Hi Joachim, I found the same thing, I think when there is a checkbox it would be better because most shaders need to look like they receive the same lights as the standard Unity shaders. And a check box is better then manually putting the multiply nodes.

Hi My first impression of shader forge is really good:)the first problem i encountered was when I made a Caustic Shader today and it only seems to work when I have the Shader Forge Window open? Else I get a NullReferenceException