From 636617284f37c8a451ee784279f74777abc2b605 Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Mon, 20 Feb 2023 16:21:53 -0500 Subject: [PATCH] note about the currently commented out threshold flicker, which is ideal but can be left for later --- Effects/MiracleBlight.fx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Effects/MiracleBlight.fx b/Effects/MiracleBlight.fx index 86cd3a861b..31c6fc7fcb 100644 --- a/Effects/MiracleBlight.fx +++ b/Effects/MiracleBlight.fx @@ -40,6 +40,9 @@ float4 PixelShaderFunction(float2 coords : TEXCOORD0) : COLOR0 // (infinitely sharp vague sinewave, periodic, continuous everywhere but differentiable nowhere) // https://en.wikipedia.org/wiki/Weierstrass_function // float fullErasureThreshold = uOpacity + (0.02 * cos(7 * uTime)) + (0.02 * cos(31 * uTime)) + (0.01 * sin(167 * uTime)); + // + // This function is currently disabled because the cosine and sine functions seem to have way more than the intended variability + float fullErasureThreshold = uOpacity; float glowThreshold = fullErasureThreshold - 0.1;