From 56a6b43ec8509012755c9d63608fb98155b52a9a Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Wed, 7 Oct 2026 18:07:46 +0530 Subject: Add flow --- src/main/resources/shaders/modules/utils.glsl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/resources/shaders/modules/utils.glsl') diff --git a/src/main/resources/shaders/modules/utils.glsl b/src/main/resources/shaders/modules/utils.glsl index 10e3a48..961480f 100644 --- a/src/main/resources/shaders/modules/utils.glsl +++ b/src/main/resources/shaders/modules/utils.glsl @@ -1,3 +1,5 @@ +#define PI 3.14159265358979323 + float smin(float a, float b, float k) { float h = clamp(0.5 + 0.5 * (b - a) / k, 0.0, 1.0); return mix(b, a, h) - k * h * (1.0 - h); -- cgit v1.3.1