From e7c005dcc8b67ca1f40338fed8fa92407c2b732a Mon Sep 17 00:00:00 2001 From: ad044 Date: Sat, 3 Oct 2020 00:18:22 +0400 Subject: [PATCH] made lighting a bit better --- src/components/Lights/Lights.tsx | 8 ++++---- src/components/PurpleRing.tsx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/Lights/Lights.tsx b/src/components/Lights/Lights.tsx index 28b4444..15f9f37 100644 --- a/src/components/Lights/Lights.tsx +++ b/src/components/Lights/Lights.tsx @@ -18,11 +18,11 @@ const Lights = memo(() => { position-y={lightState.lightPosY} rotation-y={lightState.lightRotY} > - - + - - + + + ); }); diff --git a/src/components/PurpleRing.tsx b/src/components/PurpleRing.tsx index 86b4651..67aeeb9 100644 --- a/src/components/PurpleRing.tsx +++ b/src/components/PurpleRing.tsx @@ -135,7 +135,7 @@ const PurpleRing = memo((props: PurpleRingProps) => { addedLights.rgb += clamp(dot(-lightDirection, vNormal), 0.0, 1.0) * pointLights[l].color - * 50.0; + * 30.0; } // number of segments