beyond-all-reason / beyond-all-reason/RecoilEngine

Shadow isn't rendered properly on certain angles

Open
#738 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
679
Forks
290
Avg merge
3d 2h
Merged PRs (30d)
40

Description

On DSDR 4.1 with this camera state:

```
{
px = 3240.77271
py = 1105.42786
pz = 5310.42676
dx = -0.6401963
dy = -0.7544509
name = rot
fov = 45
mode = 3
dz = -0.1447501
oldHeight = 561.879944
},
```

I get this on top left corner:
![2023-04-02T11:53:28,091543673-03:00](https://user-images.githubusercontent.com/347552/229361154-9caf73d1-3298-4463-b03b-f94fabaf9447.png)

If I move the angle just a bit it renders properly:
![2023-04-02T11:53:34,063417709-03:00](https://user-images.githubusercontent.com/347552/229361187-94659b87-1148-4a9b-8944-e06ca7116014.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the shadow artifact using the supplied DSDR 4.1 camera state, then compare it with the nearby angle that renders correctly. Trace the shadow-rendering entry point and inspect the angle-dependent path; done means the shadow renders correctly at the reported angle as well as the adjacent angle.

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
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.