#Atmosphere Shader

1 messages · Page 1 of 1 (latest)

minor minnow
#

Trying to make a simple atmostphere shader for circular planet. Most videos seems really advance when all i want is a "Points are more transparent the farther away from the center they are".
Any thoughts on how i can achieve this?
Picture is me attempting to mimic the effect i want using multipl transparent spheres.

ivory garden
#

A very simple way to do it would be to use fresnel as alpha on a sphere.

minor minnow
#

How would i stop it fron rendering on top of the planet in that case

minor minnow
#

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

ivory garden
#

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 ?