libgdx / libgdx/box2dlights

Directional Light has a top and bottom

Open
#61 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
265
Forks
81
PR merge metrics
No merged PRs in 30d

Description

When using DirectionalLight in a game with panning camera and wide box2d world DirectionalLight is not vertically infinite. It ends at +50y and -50y

Other lights outside this range continue to act as normal.

amygdalascreenshot1432611006922
amygdalascreenshot1432611298333

Contributor guide

No contributing guide indexed for this repository

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 with DirectionalLight in a panning-camera game and a wide Box2D world. Trace the DirectionalLight implementation to find why lighting stops near +50y and -50y, then verify that illumination continues beyond those bounds while other lights retain their behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.