trzy / Supermodel

Official repository of the Sega Model 3 arcade emulator.

Home Page:https://supermodel3.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[srally2]Overlapping shadows and skid marks

model-123 opened this issue · comments

The shadow of the car and the skid marks seem to overlap differently.

Video
https://youtu.be/XDEAWxu8cig?si=CopC691AR0g5lxHt&t=113

Screenshot
スクリーンショット 2023-11-07 023331

State save
srally2.zip

It was correct until git 3a85bd9
スクリーンショット 2023-11-07 023708

Use Google Translation

thanks I'll check it out
I know that the skid marks and the shadow of the car has the layered attribute set. I think according to the real3d dev manual that zwrites should be disabled for these polygons. Before we were doing a stencil operation, which while looked correct I am not 100% sure that was the correct implementation. We are also using the stencil function for the line of sight test.

should be fixed