/* smaa.glsl -- Includes SMAA.hlsl with the correct configuration * * Copyright (c) 2025-2026 Le Juez Victor * * This software is provided 'as-is', without any express or implied warranty. * For conditions of distribution and use, see accompanying LICENSE file. */ #include "../include/blocks/frame.glsl" #define SMAA_GLSL_3 #define SMAA_RT_METRICS vec4(uFrame.texelSize, uFrame.screenSize) #if QUALITY_PRESET == 0 # define SMAA_PRESET_LOW #elif QUALITY_PRESET == 1 # define SMAA_PRESET_MEDIUM #elif QUALITY_PRESET == 2 # define SMAA_PRESET_HIGH #elif QUALITY_PRESET == 3 # define SMAA_PRESET_ULTRA #endif #include "../external/SMAA.hlsl"