noneuclideandreamer, German Genuary Prompt 30: Shaders
I haven't managed to get my head space into GPU. So here's some shading with CPU...
The object (here a sphere) is specified by an array of Locations and normal vectors. The angle between light direction and normal vector tells how bright a point is. Then it gets drawn.
#genuary2024 #genuary30 #genuary
Looking at a half illuminated sphere from all sides. Looks like the moon going through its phases.