OpenRCT2 / OpenRCT2/OpenRCT2

Lightning turns night into day

Open
#21,876 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
16.2k
Forks
1.9k
Avg merge
1d 20h
Merged PRs (30d)
80

Description

Operating System

macOS 14.2

OpenRCT2 build

OpenRCT2, v0.4.10 (e55d761 on HEAD), macOS (AArch64)

Base game

RollerCoaster Tycoon 2

Area(s) with this issue?

No response

Describe the issue

when day/night cycle enabled, render weather + lightning effect enabled, during nighttime, a flash of lightning turns everything bright like daytime. Turning day/night cycle off then on will make it go back to normal.

See video. In video I used cheat to trigger thunderstorm, but without cheat this still happens.

Steps to reproduce

As above, see below.

Attachments

https://github.com/OpenRCT2/OpenRCT2/assets/77926812/fe82e09b-9ebc-4923-ae9e-bc05d6cb58fc

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in OpenRCT2 v0.4.10 on macOS with the day/night cycle, weather, and lightning enabled; the attached video shows the symptom. Trace the rendering path for nighttime lighting and the lightning effect, then verify that a lightning flash no longer leaves the scene at daytime brightness and that normal lighting returns without toggling the cycle.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.