File tree Expand file tree Collapse file tree
webapp/src/app/services/phaser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) .
55
66## [ Unreleased]
7+ ### Fixed
8+ - Fixed lightmap rendering using inverted black values
9+
710## [ 2.4.0] 2026-05-15
811### Added
912- Added "Render lights" toggle to show how lights would look ingame
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ export class Lightmap extends Phaser.GameObjects.GameObject {
115115 ...weatherTypes . NONE ,
116116 ...weatherTypes [ map . attributes . weather ] ,
117117 } ;
118- this . renderTexture . alpha = 1 - weatherType . lightMapDarkness ;
118+ this . renderTexture . alpha = weatherType . lightMapDarkness ;
119119
120120 const glowColor = Phaser . Display . Color . HexStringToColor ( weatherType . glowColor ) . color ;
121121 const tileSize = Globals . TILE_SIZE ;
You can’t perform that action at this time.
0 commit comments