Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 88b4e15

Browse files
committed
tweak shading params
1 parent 6aee663 commit 88b4e15

File tree

1 file changed

+1
-1
lines changed
  • examples/3d-cubes/src/components

1 file changed

+1
-1
lines changed

‎examples/3d-cubes/src/components/Face.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const Face = ({ color, style, ...transform3dProps }: FaceProps) => {
2626
const { diffuseColor, emissiveColor } = useMemo(() => {
2727
return {
2828
diffuseColor: blendHex(color, '#ffffff', 0.1),
29-
emissiveColor: blendHex(color, '#000000', 0.333),
29+
emissiveColor: blendHex(color, '#000000', 0.5),
3030
};
3131
}, [color]);
3232

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /