Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Drive Le Mans (Le Mans 24 Hours) - car shadow missing #1797

Open
Erick-BR opened this issue Dec 31, 2024 · 9 comments
Open

Test Drive Le Mans (Le Mans 24 Hours) - car shadow missing #1797

Erick-BR opened this issue Dec 31, 2024 · 9 comments
Labels
bug Something isn't working graphics Rendering issues

Comments

@Erick-BR
Copy link

Platform / OS / Hardware: tested on windows 8.1 and windows 10

Flycast version: lastest version standalone and retroarch with updated cores

Hardware: Ryzen 5 5600; GTX 1660 S; 16GB Ram

Description of the Issue

The shadows of cars, including the player's, do not appear during gameplay. Interestingly, when you pause the game, you can see the shadow underneath the car.

Thank you.

a
b

@Erick-BR Erick-BR added the bug Something isn't working label Dec 31, 2024
@flyinghead
Copy link
Owner

This looks like a GPU or GPU driver issue. Here is the result with a GTX 1080 (driver version 535.183):
image
Tested with both NTSC and PAL editions.

@flyinghead flyinghead added the graphics Rendering issues label Dec 31, 2024
@Erick-BR
Copy link
Author

Erick-BR commented Dec 31, 2024

I haven't updated the driver for a long time. I'll do it and test again, but on my Intel HD Graphics 4000 laptop I have the same problem. In the Redream emulator this problem doesn't occur, but of course it's better to play in Retroarch with shaders.

On Redream:
c

@flyinghead
Copy link
Owner

As I said, this issue is specific to your hardware/software setup. Other games or emulators may or may not experience the same issue depending on the method they use for render.

On Intel you might want to enable Native Depth Interpolation but this isn't needed (and not recommended) with Nvidia.
You should also try other graphics API: OpenGL, Vulkan, etc...

@flyinghead flyinghead removed the bug Something isn't working label Dec 31, 2024
@Erick-BR
Copy link
Author

Still persist on lastest driver 566.36.

Ok, thank you for reply.

@kihato
Copy link

kihato commented Dec 31, 2024

If you select anything other than per-pixel, the shadow will not be displayed.

@Erick-BR
Copy link
Author

Erick-BR commented Dec 31, 2024

If you select anything other than per-pixel, the shadow will not be displayed.

It works with this config. Thank you.

@kihato
Copy link

kihato commented Dec 31, 2024

Normally shadows are visible in this game regardless of the graphics API or sorting selected, but d618abc appears to have caused a regression.

@flyinghead flyinghead added the bug Something isn't working label Dec 31, 2024
@flyinghead
Copy link
Owner

Indeed, the mentioned commit is missing some code to be 100% correct. It doesn't happen in per-pixel due to the very different rendering method.
Thanks @kihato.

@flyinghead
Copy link
Owner

Fixed on master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working graphics Rendering issues
Projects
None yet
Development

No branches or pull requests

3 participants