noneuclideandreamer, German
@noneuclideandreamer@mathstodon.xyz avatar

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.

Looking at a half illuminated sphere from all sides. Looks like the moon going through its phases.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • GTA5RPClips
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • JUstTest
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • provamag3
  • lostlight
  • All magazines