mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +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
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -603,7 +603,10 @@ if (allTargets || targets?.includes('tankModels')) {
|
|||||||
// if (id !== 5137) continue; // tiger ii
|
// if (id !== 5137) continue; // tiger ii
|
||||||
// if (id !== 11633) continue; // forest witch
|
// if (id !== 11633) continue; // forest witch
|
||||||
// if (id !== 6225) continue; // fv215b
|
// if (id !== 6225) continue; // fv215b
|
||||||
if (id !== 4481) continue; // kran
|
// if (id !== 4481) continue; // kran
|
||||||
|
// if (id !== 9489) continue; // e100
|
||||||
|
// if (id !== 12049) continue; // jg e100
|
||||||
|
if (id !== 13569) continue; // jg e100
|
||||||
|
|
||||||
console.log(`Building model ${id} @ ${nation}/${tankIndex}`);
|
console.log(`Building model ${id} @ ${nation}/${tankIndex}`);
|
||||||
|
|
||||||
|
|||||||
@@ -18,8 +18,18 @@ export function SceneProps() {
|
|||||||
color={new Color('red')}
|
color={new Color('red')}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<directionalLight position={[1, 1, -1]} intensity={2} castShadow />
|
<directionalLight
|
||||||
<directionalLight position={[-1, 1, 1]} intensity={1} castShadow />
|
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} />
|
<ambientLight intensity={0.25} />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user