How to create an atmospheric glow effect on surface of globe/sphere

Check the Google webgl globe out, it uses that technique: webgl-globe/globe.js at 8d746a3dbf95e57ec3c6c2c6effe920c95135253 · dataarts/webgl-globe · GitHub
(Looking at the code I made a mistake, you calculate the dot product between the normal and a vector (0,0,1)

2 Likes