From 01229cc2b556c47986374fe8246c5499fe7cdd83 Mon Sep 17 00:00:00 2001 From: Alberto Torres Date: Fri, 13 Sep 2024 18:43:18 +0200 Subject: [PATCH] Enable shadow samplers by default. --- src/shadows/shadow_common.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shadows/shadow_common.nim b/src/shadows/shadow_common.nim index 2ff36cf..b10aa8c 100644 --- a/src/shadows/shadow_common.nim +++ b/src/shadows/shadow_common.nim @@ -5,7 +5,7 @@ import ../graphics/framebuffer import ../graphics/texture import ../scene -const USE_SHADOW_SAMPLERS* = false +const USE_SHADOW_SAMPLERS* = true when defined(nimdoc): type TYPES* = ShadowManager | ShadowMapUniform