fix: apply opacity maps in preview

This commit is contained in:
Tom Boullay
2026-04-27 17:19:21 +02:00
parent 2a7be1dd52
commit 473fa0f6e1
2 changed files with 92 additions and 17 deletions
+1
View File
@@ -69,6 +69,7 @@ Access the app at `http://localhost:3000`
>
> Local 3D preview supports `model.gltf` folders by resolving dropped companion files such as `model.bin` and textures through local object URLs.
> The preview also shows a small model stats helper with estimated draw calls, meshes, triangles, materials, and texture count.
> Opacity helper textures can be named `opacity.png` for the whole model or `opacity_part-name.png` to target a mesh/material whose name contains `part-name`; alpha-channel PNGs are converted to alpha maps for the preview.
### Production (Coolify / Docker)