mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-19 14:00:43 +01:00
Every overlay gets the reference's colour swatch and eyedropper: the high poly, its matching error, the cage's surface and wireframe (separate, each with an opacity), the missing seams and the project mesh. The panel opens as the reference's does at first launch; its eye hides the baking meshes and greys their rows. Show for selected texture set only filters the cage and the high poly; a hidden high poly leaves the GPU. The UV seam overlay now marks the hard edges the UV layout does not split, on the low poly and the cage, in the 3D and 2D views. The project mesh can show the neutral material, picked in the 3D view's view menu: colour, roughness, metallic, baked AO, an optional baked bent normal, and Quality as importance-sampled reflections per pixel.
33 lines
936 B
TOML
33 lines
936 B
TOML
[package]
|
|
name = "texturecraft-render"
|
|
description = "TextureCraft wgpu viewport renderer: PBR, image-based lighting, debug views, UV view"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
texturecraft-core = { workspace = true }
|
|
texturecraft-texel = { workspace = true }
|
|
texturecraft-geom = { workspace = true }
|
|
texturecraft-compose = { workspace = true }
|
|
texturecraft-bake = { workspace = true }
|
|
wgpu = { workspace = true }
|
|
bytemuck = { workspace = true }
|
|
half = { workspace = true }
|
|
log = { workspace = true }
|
|
rayon = { workspace = true }
|
|
serde = { workspace = true }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
pollster = "0.4"
|
|
|
|
# The browser's WebGPU resolves error scopes later: their results are awaited on the page.
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
wasm-bindgen-futures = "0.4"
|
|
|
|
[dev-dependencies]
|
|
image = { workspace = true }
|