mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
37 lines
1.8 KiB
TOML
37 lines
1.8 KiB
TOML
[package]
|
|
name = "raea-sys-material"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "FSL-1.1-ALv2"
|
|
publish = false
|
|
description = "Meshes and materials: a row's primitive or buffer mesh, a row's standard material and its maps, models' materials re-covered, toon (cel) with ink outlines, shadow-only meshes and materials written in TypeScript"
|
|
|
|
[features]
|
|
# SVG pictures drawn on the CPU (resvg)
|
|
native = ["dep:resvg"]
|
|
# Bevy's clearcoat textures (StandardMaterial clearcoat_normal_texture, which rotate_environment_map uses). Off by
|
|
# default: they add three samplers to every StandardMaterial, and an extension with a sampler of its own (<Material>,
|
|
# froxel glass) then passes Metal's 16 a fragment stage (docs/control.feature FC0a)
|
|
multi-layer = ["bevy/pbr_multi_layer_material_textures"]
|
|
|
|
[dependencies]
|
|
raea-io-trace = { path = "../../io/trace" }
|
|
raea-sys-frame = { path = "../frame" }
|
|
raea-sys-sampler = { path = "../sampler" }
|
|
raea-core-program = { path = "../../core/program" }
|
|
bevy = { version = "=0.20.0", default-features = false, features = ["std", "default_app", "3d_bevy_render"] }
|
|
serde_json = "1"
|
|
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "hdr"] }
|
|
raea-io-net = { path = "../../io/net" }
|
|
raea-sys-mesh = { path = "../mesh" }
|
|
# BC7 maps (maps.rs bc7_chain, docs/render-memory.feature RM9): Intel's ISPC texture kernels, prebuilt for macOS, Linux
|
|
# and Windows on x86_64 and arm64; content names for the encoded blocks kept in raea's caches
|
|
intel_tex_2 = "0.5"
|
|
blake3 = "1.8"
|
|
raea-io-home = { path = "../../io/home" }
|
|
# a texture given as a data:image/svg+xml URL, drawn on the CPU (the resvg raea-runtime-js draws SVG with)
|
|
resvg = { version = "=0.48.1", default-features = false, features = ["text"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
base64 = "0.22"
|