You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Explore adding an atmosphere effect, such that when you see the edge of the horizon you see an atmosphere layer. This will likely need some shader work.
The text was updated successfully, but these errors were encountered:
We can build a secondary mesh that glows behind the earth mesh. I had done that in the past on KeepTrack but migrated to the current solution because I am still learning how to draw geometries with raw WebGL - we shouldn't have that issue with three.
A mix of the two.
If you want to color the atmosphere then we use the dot product of the vector from the sun's position to the earth to determine if a vertex is on the edge and then pass that to the fragment shader to determine what color to make it. This looks more like Kerbal to me vs an engineering tool (which is always ideal to me).
The more common approach I have seen on the internet is to use a white/blue color regardless of sun angle and just blur it.
Explore adding an atmosphere effect, such that when you see the edge of the horizon you see an atmosphere layer. This will likely need some shader work.
The text was updated successfully, but these errors were encountered: