#Atmosphere Shader
1 messages · Page 1 of 1 (latest)
A very simple way to do it would be to use fresnel as alpha on a sphere.
How would i stop it fron rendering on top of the planet in that case
I just dont understand how to get it to fade out with the Fresel effect
I invert it with one minus node, then it appears to kinda work how i want but it shows on the border of the sphere anyways
I managed to get it to render behind everything but just not the fade effect
When rendering the back faces, the normals are not inverted, so you need to make this manually to get back the fresnel effect.
You can also manually use a power node to control the fresnet after inverting it, I find it a bit more easy to tweak.
And if you combine it with the dot product of the main light direction, you start to get what you want I think ?