You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve immediate presentation of meshes generated in blocking mode.
Previously even when meshes were generated in the blocking defer mode "Immediate" (zero frame) they would not become visible if they were part of a previously invisible section and thus not in a render list already. This change makes it so that sections that are added to a blocking-type task queue are also forcefully added to the render list since they are very likely to contain geometry by the end of the frame.
// when a chunk with no geometry to render is added to a zero-frame defer rebuild queue that means it will very likely receive geometry to render this frame. This flag makes sure it gets added to the render list now so that it doesn't remain invisible in frame, even though we blocked the frame to generate its mesh.
40
+
booleanpredictNewGeometryThisFrame = false;
52
41
53
42
// always add to rebuild lists though, because it might just not be built yet
54
43
varpendingUpdate = section.getPendingUpdate();
@@ -61,14 +50,29 @@ public void visit(RenderSection section) {
0 commit comments