mirror of
https://github.com/ad044/lainTSX.git
synced 2024-10-22 23:19:06 +00:00
made lighting a bit better
This commit is contained in:
parent
3547bd8e14
commit
e7c005dcc8
2 changed files with 5 additions and 5 deletions
|
@ -18,11 +18,11 @@ const Lights = memo(() => {
|
|||
position-y={lightState.lightPosY}
|
||||
rotation-y={lightState.lightRotY}
|
||||
>
|
||||
<ambientLight color={0x808080} intensity={0.6} />
|
||||
<pointLight color={0xffffff} position={[0, 0, 7]} intensity={0.7} />
|
||||
<pointLight color={0xffffff} position={[0, 0, 7]} intensity={1} />
|
||||
<pointLight color={0x7f7f7f} position={[0, 10, 0]} intensity={1.5} />
|
||||
<pointLight color={0xffffff} position={[-8, 0, 0]} intensity={0.3} />
|
||||
<pointLight color={0xffffff} position={[8, 0, 0]} intensity={0.3} />
|
||||
<pointLight color={0xffffff} position={[8, 0, 0]} intensity={0.2} />
|
||||
<pointLight color={0xffffff} position={[-8, 0, 0]} intensity={0.2} />
|
||||
|
||||
</a.group>
|
||||
);
|
||||
});
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue