mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-26 20:19:50 +01:00
feat: better lighting
This commit is contained in:
1 parent
6ca9e637dc
commit
884531700b
1 file changed
+2
-2
@@ -18,8 +18,8 @@ export function SceneProps() {
|
|||||||
color={new Color('red')}
|
color={new Color('red')}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<directionalLight position={[1, 1, -1]} intensity={1} castShadow />
|
<directionalLight position={[1, 1, -1]} intensity={2} castShadow />
|
||||||
<directionalLight position={[-1, 1, 1]} intensity={2} castShadow />
|
<directionalLight position={[-1, 1, 1]} intensity={1} castShadow />
|
||||||
<ambientLight intensity={0.25} />
|
<ambientLight intensity={0.25} />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user