mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: readd lobby lighting for static mode
This commit is contained in:
1 parent
e9d1c82a60
commit
b1f0d4d844
1 file changed
+10
-5
+10
-5
@@ -18,11 +18,16 @@ export function Lighting() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Environment
|
{display !== TankopediaDisplay.StaticArmor && (
|
||||||
files="https://dl.polyhaven.org/file/ph-assets/HDRIs/hdr/1k/winter_river_1k.hdr"
|
<Environment
|
||||||
environmentIntensity={isBrighterLighting ? 1.5 : 1}
|
files="https://dl.polyhaven.org/file/ph-assets/HDRIs/hdr/1k/winter_river_1k.hdr"
|
||||||
environmentRotation={new Euler(0, degToRad(180), 0)}
|
environmentIntensity={isBrighterLighting ? 1.5 : 1}
|
||||||
/>
|
environmentRotation={new Euler(0, degToRad(180), 0)}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
{display === TankopediaDisplay.StaticArmor && (
|
||||||
|
<Environment preset="lobby" />
|
||||||
|
)}
|
||||||
{display === TankopediaDisplay.ShootingRange && (
|
{display === TankopediaDisplay.ShootingRange && (
|
||||||
<>
|
<>
|
||||||
<directionalLight position={[0, -1, 0]} />
|
<directionalLight position={[0, -1, 0]} />
|
||||||
|
|||||||
Reference in new issue
Block a user