From acb2eadeb41b7038ed42be28438d830b2f847b7a Mon Sep 17 00:00:00 2001 From: Adrian Castro <22133246+castdrian@users.noreply.github.com> Date: Sat, 1 Aug 2026 14:37:22 +0200 Subject: [PATCH] fix(ios): use decal shadows on Metal --- lib/ShadowMap.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ShadowMap.lua b/lib/ShadowMap.lua index d5afc76..8997a49 100644 --- a/lib/ShadowMap.lua +++ b/lib/ShadowMap.lua @@ -221,6 +221,9 @@ end -- where the canvas cannot be made -- VoxelScene then keeps the flat decal -- shadows, which need nothing but a quad. function ShadowMap.available() + if love.system and love.system.getOS and love.system.getOS() == "iOS" then + return false + end if not (love.graphics and love.graphics.newCanvas and love.graphics.setDepthMode) then return false