tweaked paper textures

This commit is contained in:
2026-02-06 10:13:54 +00:00
parent 2398ea07b5
commit 21d394d5a2

View File

@@ -3,22 +3,22 @@ import { useTheme } from "@/components/theme-provider";
const lightTexture = { const lightTexture = {
colorFront: "#5f4a331a", colorFront: "#5f4a331a",
contrast: 0.22, contrast: 0.3,
roughness: 0.24, roughness: 0.24,
fiber: 0.2, fiber: 0.1,
crumples: 0.2, crumples: 0,
folds: 0.12, folds: 0,
drops: 0.08, drops: 0,
}; };
const darkTexture = { const darkTexture = {
colorFront: "#f6efe31a", colorFront: "#f6efe31a",
contrast: 0.18, contrast: 0.3,
roughness: 0.2, roughness: 0.24,
fiber: 0.18, fiber: 0.1,
crumples: 0.16, crumples: 0,
folds: 0.1, folds: 0,
drops: 0.06, drops: 0,
}; };
export function PaperTextureOverlay() { export function PaperTextureOverlay() {
@@ -47,7 +47,7 @@ export function PaperTextureOverlay() {
foldCount={5} foldCount={5}
drops={texture.drops} drops={texture.drops}
fade={0.08} fade={0.08}
seed={5.8} seed={5}
minPixelRatio={1} minPixelRatio={1}
maxPixelCount={2304000} maxPixelCount={2304000}
/> />