Cargo Features
[dependencies]
bevy_vox_scene = { version = "0.17.1", default-features = false, features = ["generate_voxels", "pbr_transmission_textures", "webgl2"] }
- default = generate_voxels, modify_voxels, pbr_transmission_textures
-
These default features are set whenever
bevy_vox_scene
is added without
somewhere in the dependency tree.default-features = false - modify_voxels generate_voxels default
- pbr_transmission_textures default
-
Enables pbr_transmission_textures of bevy
bevy:
Enable support for transmission-related textures in the
StandardMaterial
, at the risk of blowing past the global, per-shader texture limit on older/lower-end GPUs - webgl2
-
bevy:
Enable some limitations to be able to use WebGL2. Please refer to the WebGL2 and WebGPU section of the examples README for more information on how to run Wasm builds with WebGPU.
bevy_vox_scene has 4 features without comments.