18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-01 04:47:06 +01:00
Files
maszyna/rendering
Hirek 0409591b72 fix(vulkan): the cab drawn early writes all of its depth again
Without rain or snow the colour pass draws the cab first (9b7d02e5). Since
the depth of the prepass is kept for the alpha tested draws (ff2ff308),
the cab drawn first fell under that too: its screens, stickers and desk
lamps wrote no depth of their own, and what came after them, the scene and
the simplified desk (cab1) of the outer model a few centimetres behind,
came through in patches cut along the triangles. The released exe shows it
as well.

The early cab now writes its depth, as in the rain and in the OpenGL
renderer; the rest of the scene keeps the depth of the prepass as before.
2026-11-30 20:51:52 +01:00
..