Skip to content

Commit

Permalink
Merge pull request #65 from MetaCell/feature/CELE-108
Browse files Browse the repository at this point in the history
#108 update the ambientLight color
  • Loading branch information
ddelpiano authored Oct 18, 2024
2 parents d0cb80d + dd273b5 commit f899197
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
CAMERA_FOV,
CAMERA_NEAR,
CAMERA_POSITION,
LIGHT_1_COLOR,
LIGHT_2_COLOR,
LIGHT_2_POSITION,
LIGHT_SCENE_BACKGROUND,
Expand Down Expand Up @@ -101,7 +100,7 @@ function ThreeDViewer() {
/>
<CameraControls ref={cameraControlRef} />

<ambientLight color={LIGHT_1_COLOR} />
<ambientLight color={"0x404040"} />
<directionalLight color={LIGHT_2_COLOR} position={LIGHT_2_POSITION} />

<Gizmo />
Expand Down

0 comments on commit f899197

Please sign in to comment.