Cargo Features

[dependencies]
bevy_water = { version = "0.15.1", default-features = false, features = ["embed_shaders", "file_watcher", "inspector", "debug", "atmosphere", "ssr", "spectator", "panorbit", "depth_prepass", "image_utils", "webgl2", "webgpu"] }
default = depth_prepass, embed_shaders, image_utils, webgl2

These default features are set whenever bevy_water is added without default-features = false somewhere in the dependency tree.

embed_shaders default

Embed the shaders at compile-time.

file_watcher

file/embed watcher

Enables embedded_watcher and file_watcher of bevy

inspector

Enable inspector in examples.

debug

Enable debug lines in examples.

atmosphere

Enable bevy_atmosphere support in the examples.

ssr = depth_prepass

Enable Screen Space Reflections support.

spectator

Enable bevy_spectator support in the examples.

panorbit

Enable bevy_panorbit_camera support in the examples.

depth_prepass default ssr?

Enable DepthPrepass in examples.

image_utils default

Include ImageUtils

Enables jpeg of bevy

webgl2 default

Select WebGL2 or WebGPU support.
Use webgl2 for native builds (non-wasm).

Enables webgl2 of bevy

webgpu

Enables webgpu of bevy

bevy:

Enable support for WebGPU in Wasm. When enabled, this feature will override the webgl2 feature and you won't be able to run Wasm builds with WebGL2, only with WebGPU.