dethrace-labs / dethrace

Reverse engineering the 1997 game "Carmageddon"
https://twitter.com/dethrace_labs
GNU General Public License v3.0
859 stars 44 forks source link

Fixes Toshiba's blend test map #291

Closed dethrace-labs closed 1 year ago

dethrace-labs commented 1 year ago

The reason it wasn't fully working already is because dethrace made the assumption that blendable materials will only be seen in the separate explicit blending rendering pass. This particular track fails to detect columns (in ExtractColumns), so blended materials are rendered in the first pass. The framebuffer hadn't yet been uploaded back to the GPU, so nothing was blended.

Screenshot 2023-02-20 at 12 42 21 pm Screenshot 2023-02-20 at 12 42 43 pm Screenshot 2023-02-20 at 12 42 57 pm