Themaister / parallel-rdp

A low-level Vulkan compute emulation of the N64 RDP
MIT License
156 stars 15 forks source link

Perfect Dark - Lens Flare bug with Hi-Res enabled in-game #27

Closed DaRkL3AD3R closed 3 years ago

DaRkL3AD3R commented 3 years ago

Describe the bug When Hi-Res is enabled in-game and while looking at lens flare sources that are positioned on the left side of the screen, the lens flares themselves become glitched and repeat in a long horizontal pattern across the screen. If the source moves to the right side of the screen, this issue does not present. If Hi-Res is disabled, the issue never happens.

To Reproduce Steps to reproduce the behavior:

  1. Start the game and access the Carrington Institute with Hi-Res enabled in the in-game Video options menu
  2. Enter the second floor hall and look through the windows at the sun (you may need to crouch)
  3. Turn the camera left and right and look up and down for the lens flare bug to present itself
  4. See error

Expected behavior Lens flare should look consistent no matter the angle or res mode

Screenshots https://imgur.com/a/VyGS0Fw

Desktop (please complete the following information):

Additional context Running latest builds of Mupen64Plus-Gui with ParaLLEl-RDP. 1x scaling resolution, all default settings.

Themaister commented 3 years ago

Perfect Dark (USA)-211011-210920 Perfect Dark (USA)-211011-210858

Game bug I think. Reproduced same pattern in AL and parallel-rdp. Game might have forgot to clip properly, which could lead to this kind of issue I think since the span rasterizer has places where it can overflow.

Themaister commented 3 years ago

Closed as game bug (parallel-rdp on top, AL bottom). Needs to be proven that AL behaves differently than parallel-rdp here.