Damus
Non-Euclidean Dreamer profile picture
Non-Euclidean Dreamer
@Non-Euclidean Dreamer
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

1
Anton Sherwood · 26w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq2558lx4zwrp4e686yc0wxszl7ed9z7vq3h0zp46qar70lgfm0myqfqdn5h Why do I see a brighter ring around the ‘subsolar’ point?