Tech
Drawing day and night on a 3D globe: the shader behind my world clock
Every world clock I've used is a table. You read "Tokyo +9, São Paulo −3" and you still don't feel who's asleep. I wanted the opposite: look at the Earth, see the daylight band, and know instantly whether it's a reasonable hour to ping someone.
That became Timetate — a world clock and meeting planner where the main interface is a 3D globe with a day/night terminator that tracks the real sun.
This post is about the part people ask about: how the terminator is drawn, and why the naive ve...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to