BVE-Reborn / rend3

MAINTENCE MODE ---- Easy to use, customizable, efficient 3D renderer library built on wgpu.
https://rend3.rs
Apache License 2.0
1.06k stars 60 forks source link

Translucent material mis-sorting errors #597

Closed John-Nagle closed 5 months ago

John-Nagle commented 5 months ago

This is new, roughly since GPU occlusion culling was removed. Translucent surfaces are mis-sorting, with back objects appearing in front of front objects. This happens even when the objects are not anywhere near close.

signvswindow signbackvsroundsign signvssign

Most, possibly all of these, involve meshes where the mesh wraps around and faces both towards and away from the camera.

John-Nagle commented 5 months ago

This is Rend3 rev = "4709529".

John-Nagle commented 5 months ago

Rebuilt Sharpview with an older Rend3 as a test. Same Sharpview code.