gonetz / GLideN64

A new generation, open-source graphics plugin for N64 emulators.
Other
772 stars 180 forks source link

Goldfinger multiplayer - Players at the bottom of the screen not rendering #2490

Open AXDOOMER opened 3 years ago

AXDOOMER commented 3 years ago

I'm able to test with 2 and 3 players in m64p with the April 19 release. Only the sky, radar and the player's weapon render.

goldfinger

During the camera spin around the head at the start of the match, you can see a bit more being rendered. The world geometry disappears when the camera enters the head of the player. goldfinger2

Same result buggy result as before, but not with 3 players. Players at the top of the screen render correctly. goldfinger3

I can add

[GOLDFINGER]
Good_Name=007 - Goldfinger (E)(U)
frameBufferEmulation\enable=0

to GLideN64.custom.ini and the result would be this. It renders a bit more, but I'd get other graphical bugs. (polygons not sorted, player models and on-the-ground items not rendering) goldfinger4

It's similar to this issue https://github.com/gonetz/GLideN64/issues/1173 which has been fixed years ago. Similar behavior to https://github.com/gonetz/GLideN64/issues/1609 occurs (seeing through walls, player models disappearing).

I also played around with the settings frameBufferEmulation\N64DepthCompare= and generalEmulation\enableFragmentDepthWrite= but couldn't fix the issue.

ScottBarnesss commented 3 years ago

I have a similar problem to this. The whole bottom screen in multiplayer mode (2+ players) of modded games (Goldfinger, Goldeneye X, Perfect Dark +) exhibits a gray box with only the radar and weapon shown. This behavior doesn't happen on unmodded games like 007 Goldeneye and Perfect Dark. Hope a solution is in the works soon 😃

fzurita commented 3 years ago

Can you try adding

frameBufferEmulation\forceDepthBufferClear=1
AXDOOMER commented 3 years ago

Can you try adding

frameBufferEmulation\forceDepthBufferClear=1

With frameBufferEmulation\forceDepthBufferClear=1 only, the polygons rendered on the lower screens will kinda flash randomly (appear, disappear).

Screenshot_2021-05-23_17-18-41

ScottBarnesss commented 3 years ago

Correction: with the setting "frameBufferEmulation\forceDepthBufferClear=1" on, Perfect Dark Plus(+) works perfectly. Goldfinger 64 and Goldeneye X exhibit the same weird behavior (polygons/images flickering or disappearing).

Could this be a result of how those modded games were made?

gonetz commented 2 years ago

Could this be a result of how those modded games were made?

Most likely it is the result of modifications. I analyzed how PD and GE work with frame buffers in multiplayer, found what causes that glitch and add a simple fix, see

1173. The fix works for for that particular pattern. If modded games somehow changed the pattern, the fix won't work.

Hope a solution is in the works soon

Hardly. I don't have time for mods.