From b0a20c74cc779f577e314c201ab669e9731655ad Mon Sep 17 00:00:00 2001 From: neon443 <69979447+neon443@users.noreply.github.com> Date: Mon, 25 Aug 2025 21:22:32 +0100 Subject: [PATCH] =?UTF-8?q?bro=20adding=20zero=20in=202=20places=20?= =?UTF-8?q?=F0=9F=92=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ShhShell/Terminal/CRT.metal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ShhShell/Terminal/CRT.metal b/ShhShell/Terminal/CRT.metal index 0921beb..80c9025 100644 --- a/ShhShell/Terminal/CRT.metal +++ b/ShhShell/Terminal/CRT.metal @@ -13,10 +13,10 @@ using namespace metal; float2 uv = pos/size; // scanwave - half3 newCol = 0.75 + 0.5 + 0.5 * sin(time + uv.y*10 + half3(0)); + half3 newCol = 0.75 + 0.5 + 0.5 * sin(time + uv.y*10); //scanlines - newCol *= 0.5 + 0.5 * sin(uv.y * 1000.0 + half3(0)); + newCol *= 0.5 + 0.5 * sin(uv.y * 1000.0); half4 output = half4(color.xyz*newCol, 1); return output; }