Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/app/services/phaser/lightmap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading