Which pixels need to be darkened to shade off an object depends on the distance to that object, and will also block the light coming from other objects at other distances. It's very inconvenient.
The Magic Leap 2 does. It works ok. It's not as completely useless as armchair quarterbacks on line would have you believe. But it's also not the greatest thing. Objects are a little fuzzy around the edges and friend on the accuracy of the object surface detection. So moving objects can lag.