Skip to content

Monkey Ball (NAOMI): stage visible outside minimap border #2454

Description

@ShinMikite

Platform / OS / Hardware: Windows 11 Home 64-bit (10.0.26200)

Flycast version: Official Windows v2.7 release, executable version v2.7-1-g44e4c7b50

Hardware: Intel Core i7-14700F, NVIDIA GeForce RTX 5070, 32GB DDR5

Description of the Issue

In the NAOMI version of Monkey Ball, parts of the stage can appear outside the circular minimap border when using DirectX 11 with per-triangle transparent sorting. Advanced Floor 26 shows the problem from the normal starting position.

The issue does not occur when per-pixel/OIT sorting is used or when TranslucentPolygonDepthMask is enabled.

-       if (prod_id == "COSMIC SMASH IN JAPAN")
+       if (prod_id == "COSMIC SMASH IN JAPAN"
+               || prod_id == "MONKEY BALL JAPAN VERSION")

Debugging Steps Tested

  • Reproduced on the official Flycast v2.7 Windows release using DirectX 11 and per-triangle sorting on Advanced Floor 26.
  • Enabling TranslucentPolygonDepthMask fixes the problem.
  • DirectX 11 per-pixel/OIT sorting also displays the minimap correctly.

Logs Gathered

00:00:000 rend/dx11/dx11context.cpp:54 N[RENDERER]: DX11 Context initializing
00:00:475 rend/dx11/dx11_renderer.cpp:45 N[RENDERER]: DX11 renderer initializing
00:00:624 hw/naomi/naomi_cart.cpp:665 N[NAOMI]: NAOMI GAME ID [MONKEY BALL JAPAN VERSION] region ff players 0 vertical 0
00:00:631 emulator.cpp:60 N[BOOT]: Game ID is [MONKEY BALL JAPAN VERSION]

Screenshots

Image Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggraphicsRendering issues

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions