sketch.js: fix light angle so it aligns with original idea
This commit is contained in:
parent
92a91b3295
commit
c0d1a3cd74
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue