From 452ee5b9a1afefefd3513645c3423bb090900fa5 Mon Sep 17 00:00:00 2001 From: Erik Date: Fri, 29 May 2026 13:04:11 +0200 Subject: [PATCH] =?UTF-8?q?docs(render):=20Phase=20A8.F=20=E2=80=94=20fix?= =?UTF-8?q?=20stale=20Step-5=20exit-state=20comment=20(CullFace=20enabled,?= =?UTF-8?q?=20not=20disabled)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/AcDream.App/Rendering/GameWindow.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/AcDream.App/Rendering/GameWindow.cs b/src/AcDream.App/Rendering/GameWindow.cs index d0be1cf..c4fb7ce 100644 --- a/src/AcDream.App/Rendering/GameWindow.cs +++ b/src/AcDream.App/Rendering/GameWindow.cs @@ -11274,8 +11274,9 @@ public sealed class GameWindow : IDisposable // full ColorMask before returning to the outer render frame. // // Step 5's iteration loop (now always-on when inside + other - // buildings overlap) leaves DepthMask=false / CullFace=disabled / - // ColorMask=(f,f,f,f) on its last iteration. Restore to + // buildings overlap) leaves DepthMask=false / CullFace=enabled / + // ColorMask=(f,f,f,f) on its last iteration (Step 5c re-enables + // CullFace; 5d only touches color/depth/stencil). Restore to // acdream-default before returning. gl.ColorMask(true, true, true, true); gl.DepthMask(true);