mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-27 16:49:15 +01:00
Applying a material filled the model in tile by tile, and each apply made the next one slower. Now: - a big recomposite first draws a coarse look of every tile (sampled texels repeated across blocks), then refines to the exact result; - layers hidden behind an opaque layer are skipped (not when anchors or height masks are involved); - compositing and upload budgets adapt: larger when idle, smaller while the user is interacting, and uploads reserve time for conversion; - no coarse pass during a live stroke or with neighbourhood filters; - blending at full weight returns the blended value exactly. Tests: coarse-then-exact, hidden-layer culling gives identical pixels, coarse pass covers every tile, no coarse pass while a stroke is live. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>