feat: sky lighting

This commit is contained in:
TrèsAbhi committed 2024-01-05 15:22:00 -06:00
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.
+4 -1
View File
@@ -603,7 +603,10 @@ if (allTargets || targets?.includes('tankModels')) {
// if (id !== 5137) continue; // tiger ii
// if (id !== 11633) continue; // forest witch
// 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}`);
@@ -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} />
</>
);