From 7ff8e3c51dbea2385b04fe04a7602f70317a48d5 Mon Sep 17 00:00:00 2001 From: hypercross Date: Sat, 15 Aug 2026 12:10:41 +0800 Subject: [PATCH] fix(web): thin out card mesh thickness --- apps/web/src/components/viewers/CardMesh.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/viewers/CardMesh.tsx b/apps/web/src/components/viewers/CardMesh.tsx index ef00228..75f1184 100644 --- a/apps/web/src/components/viewers/CardMesh.tsx +++ b/apps/web/src/components/viewers/CardMesh.tsx @@ -22,8 +22,8 @@ import { const CARD_LENGTH = 2; /** Corner radius as a fraction of the shorter card edge. */ const CORNER_RADIUS = 0.05; -/** Thickness of the card. */ -const CARD_THICKNESS = 0.06; +/** Thickness of the card, as a fraction of its length (real cards are ~0.3%). */ +const CARD_THICKNESS = 0.01; // A 1x1 transparent placeholder so `useTexture` always receives a valid URL. // Without it, the face/back hooks would be called conditionally, which breaks