@@ -163,7 +163,7 @@ function useFabricTexture(isDark: boolean) {
163163 const texture = new THREE . CanvasTexture ( canvas )
164164 texture . wrapS = THREE . RepeatWrapping
165165 texture . wrapT = THREE . RepeatWrapping
166- texture . repeat . set ( 12 , 12 )
166+ texture . repeat . set ( 20 , 20 )
167167 texture . anisotropy = 8
168168 return texture
169169 } , [ isDark ] )
@@ -183,8 +183,8 @@ function useBumpTexture() {
183183
184184 // Draw a jersey-knit V pattern — interlocking V shapes that mimic
185185 // the face side of a knit cotton tee
186- const stitchW = 8 // width of one stitch column
187- const stitchH = 10 // height of one stitch row
186+ const stitchW = 5 // width of one stitch column
187+ const stitchH = 6 // height of one stitch row
188188 ctx . lineWidth = 1.5
189189 ctx . lineCap = 'round'
190190
@@ -238,7 +238,7 @@ function useBumpTexture() {
238238 const texture = new THREE . CanvasTexture ( canvas )
239239 texture . wrapS = THREE . RepeatWrapping
240240 texture . wrapT = THREE . RepeatWrapping
241- texture . repeat . set ( 16 , 16 )
241+ texture . repeat . set ( 24 , 24 )
242242 texture . anisotropy = 8
243243 return texture
244244 } , [ ] )
@@ -374,7 +374,7 @@ function ShirtWithDecals({
374374 map = { fabricMap }
375375 normalMap = { bumpMap }
376376 normalScale = {
377- new THREE . Vector2 ( isDark ? 0.03 : 0.8 , isDark ? 0.03 : 0.8 )
377+ new THREE . Vector2 ( isDark ? 0.03 : 0.4 , isDark ? 0.03 : 0.4 )
378378 }
379379 roughness = { isDark ? 0.9 : 0.7 }
380380 metalness = { 0 }
@@ -394,15 +394,15 @@ function ShirtWithDecals({
394394 map = { decalTexture }
395395 normalMap = { decalNormalMap }
396396 normalScale = {
397- new THREE . Vector2 ( isDark ? 0.6 : 1.5 , isDark ? 0.6 : 1.5 )
397+ new THREE . Vector2 ( isDark ? 0.1 : 0.3 , isDark ? 0.1 : 0.3 )
398398 }
399399 transparent
400400 polygonOffset
401401 polygonOffsetFactor = { - 1 }
402402 roughness = { 0.95 }
403403 metalness = { 0 }
404404 envMapIntensity = { 0.3 }
405- color = { isDark ? '#aaaaaa ' : '#bbbbbb ' }
405+ color = { isDark ? '#dddddd ' : '#f0f0f0 ' }
406406 side = { THREE . FrontSide }
407407 />
408408 </ Decal >
0 commit comments