mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-23 16:00:45 +01:00
The hand-off now writes one 16-bit PSD per texture set instead of one OpenRaster file per channel, so every map is in one document and a mask edited once shapes all of them: - Folders become groups; every layer becomes a pass-through group with its real mask as the group's editable layer mask, holding one pixel layer per channel (Base color, Roughness, ...) with the channel's blend mode and opacity. - One layer comp per channel shows only that channel's layers. - When PhotoCraft saves, every channel is recomposited from the saved layers with TextureCraft's blend math and shown through `PhotoCraft: <channel>` fills, all in one undo step. The PSD reader and writer (formats::psd) are written from the public file format specification. OpenRaster stays available as format "ora". compose gains flatten_layer_masked_apart, which keeps a layer's content and mask apart.