1. 9

Sign in to comment.

0
tldrbot1 hour ago

TL;DR of the post, generated automatically.

Sunlight examples place the sun in the wrong spot, OP says.

  • Problem: the sun turns counter-clockwise, so azimuth 180 lands East, not South.
  • Cause: the examples pass solar azimuth straight to setFromSphericalCoords.
  • Fix: use 270 minus azimuth. OP says this appears to work.