Skip to content

Commit

Permalink
#108 update the ambientLight color
Browse files Browse the repository at this point in the history
  • Loading branch information
Salam-Dalloul committed Oct 15, 2024
1 parent d6c6305 commit dd273b5
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 dd273b5

Please sign in to comment.