From a8d301419e87ee776fcae43057b89c3a9697fd7d Mon Sep 17 00:00:00 2001 From: Jan Date: Sat, 16 May 2026 11:37:48 +0200 Subject: [PATCH 1/2] fixed lightmap having wrong opacity --- webapp/src/app/services/phaser/lightmap.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/app/services/phaser/lightmap.ts b/webapp/src/app/services/phaser/lightmap.ts index f1c2aefa..cbd38cbd 100644 --- a/webapp/src/app/services/phaser/lightmap.ts +++ b/webapp/src/app/services/phaser/lightmap.ts @@ -115,7 +115,7 @@ export class Lightmap extends Phaser.GameObjects.GameObject { ...weatherTypes.NONE, ...weatherTypes[map.attributes.weather], }; - this.renderTexture.alpha = 1 - weatherType.lightMapDarkness; + this.renderTexture.alpha = weatherType.lightMapDarkness; const glowColor = Phaser.Display.Color.HexStringToColor(weatherType.glowColor).color; const tileSize = Globals.TILE_SIZE; From f7706257d370eebf5271c585d6f10aebe064844f Mon Sep 17 00:00:00 2001 From: Jan Date: Sat, 16 May 2026 11:43:58 +0200 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f9a1143..09d4ce52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +### Fixed +- Fixed lightmap rendering using inverted black values + ## [2.4.0] 2026-05-15 ### Added - Added "Render lights" toggle to show how lights would look ingame