sketch.js: fix light angle so it aligns with original idea

This commit is contained in:
tym2k1 2025-02-22 03:28:30 +01:00
parent 92a91b3295
commit c0d1a3cd74
No known key found for this signature in database
GPG key ID: 409330E8D7E4BF83

View file

@ -172,12 +172,12 @@ function draw() {
directionalLight( directionalLight(
210, 0, 255, // color 210, 0, 255, // color
180, 180, 0 // direction -180, 180, 0 // direction
); );
directionalLight( directionalLight(
0, 255, 180, // color 0, 255, 180, // color
-180, -180, 0 // direction 180, -180, 0 // direction
); );
// Update the onion object // Update the onion object