Inspired by an awesome project by a fellow Academy Member @kotucheniy101 - I was experimenting to see just how optimised a textured sphere could be... hold z to change sun position. Need for speed? >> https://turbowarp.org/1367046445
I used gobo script to help code the main engine. We have ray-sphere intersection + Equirectangular texture mapping - textures from NASA's blue marble and mapped using python. The lighting model is Lambertian diffuse with Blinn-Phong specular highlights for the water. Hand optimised to be as fast as I could get it in Scratch... so far :D 9 Aug 2026 - v1.2 - Few optimisations 9 Aug 2026 - v1.1 - Corrected Specular highlight code 7 Aug 2026 - v1.0 - Initial Release