mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
fix: lighting too bright for pbr tanks
This commit is contained in:
1 parent
b3d206b0ae
commit
489fb23683
1 file changed
+1
-1
+1
-1
@@ -9,7 +9,7 @@ export function Lighting() {
|
||||
const display = TankopediaPersistent.use((state) => state.display);
|
||||
const { hasPbr } = useModel(protagonist.tank.id);
|
||||
const isBrighterLighting =
|
||||
hasPbr && display !== TankopediaDisplay.StaticArmor;
|
||||
!hasPbr && display !== TankopediaDisplay.StaticArmor;
|
||||
const showEnvironment = TankopediaPersistent.use(
|
||||
(state) => state.showEnvironment,
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user