OpenRCT2 / OpenRCT2/OpenRCT2

"Enable lighting effects(experimental)" turns off for 50 after a certain distance

Open
#25,671 1 comment 0 reactions 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

win11

OpenRCT2 build

OpenRCT2, v0.4.29 (ebe87be3da) provided by GitHub

Base game

RollerCoaster Tycoon 2

Area(s) with this issue?

This bug is a graphical glitch or error

Describe the issue

This is a lovely feature. I decided to take my experience to the max and make a maximum sized flat map (999x999) and just go wild. With this, i noticed that the lighting effect does not work when exceeding a certain distance on the map. I don't want to come off as nitpicking, but i was sad to see that one of my favorite features of ORCT2 doesn't work well when i take the game to the extreme and make a big map.

I have only found two mentions of this bug, one on reddit and one on a ORCT2 (archived) forum discussion, but no conclusion or even mention of specifics as to how to reproduce it.

I am new here so i apologize if i omitted any important details, i would love to know how this could be resolved, how much effort this would require? Is this doable with an openrct2 development tool? I would love to give it a shot myself if i had the know-how, i have the willpower!

Thank you for your time

Steps to reproduce
  1. start or load a map with at least 450x450 size. To be sure, make or load a map with 999x999 size, but i say 450 because the cutoff of the lighting effect occurs roughly at the middle of the map.

  2. click your park button on the top right, click locate (four red arrows) - this is your park's starting point.

  3. Go slightly past half the middle of the map towards the opposing end

  4. place path(s), and lamps. Make sure it is nighttime and lighting effects are enabled

  5. rotate the camera and notice that the lighting disables when facing east & west

  6. attempt this a little further up if it doesn't happen, for me it's just about, or slightly past the half of the map

Attachments

No response

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 on Windows 11 with OpenRCT2 v0.4.29 using a map at least 450x450, then place lamps at night and rotate the camera east and west beyond the map midpoint. No file or test is named in the report, so trace the lighting-effects rendering path from this reproduction. Done means lighting remains enabled regardless of camera direction and distance on large maps.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.