From ffc9e3fecb855197266449265fcc6f98852222ba Mon Sep 17 00:00:00 2001 From: spatialfree Date: Sun, 10 Nov 2024 05:24:37 -0500 Subject: [PATCH] proper settings for additive style mat --- src/Arts.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Arts.cs b/src/Arts.cs index 345c36f..423bbbb 100644 --- a/src/Arts.cs +++ b/src/Arts.cs @@ -29,8 +29,10 @@ static class Arts } } - mat_backbox.Transparency = Transparency.Add; mat_backbox.FaceCull = Cull.Front; + mat_backbox.Transparency = Transparency.Add; + mat_backbox.DepthTest = DepthTest.LessOrEq; + mat_backbox.DepthWrite = false; } public static void Frame()