mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 19:19:52 +02:00
feat: sky lighting
This commit is contained in:
1 parent
cb6ce4f183
commit
21122c620b
5 files changed
+16
-3
No files matched your search
@@ -18,8 +18,18 @@ export function SceneProps() {
|
||||
color={new Color('red')}
|
||||
/>
|
||||
|
||||
<directionalLight position={[1, 1, -1]} intensity={2} castShadow />
|
||||
<directionalLight position={[-1, 1, 1]} intensity={1} castShadow />
|
||||
<directionalLight
|
||||
position={[1, 1, -1]}
|
||||
intensity={2}
|
||||
castShadow
|
||||
color={'rgb(225, 225, 255)'}
|
||||
/>
|
||||
<directionalLight
|
||||
position={[-1, 1, 1]}
|
||||
intensity={1}
|
||||
castShadow
|
||||
color={'rgb(225, 225, 255)'}
|
||||
/>
|
||||
<ambientLight intensity={0.25} />
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user