Skip to content

Commit

Permalink
Update README.md with new feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
coreh committed Aug 20, 2024
1 parent ef6d711 commit d43533a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ pbr_multi_layer_material_textures = [
# Enable support for anisotropy texture in the `StandardMaterial`, at the risk of blowing past the global, per-shader texture limit on older/lower-end GPUs
pbr_anisotropy_texture = ["bevy_internal/pbr_anisotropy_texture"]

# Enable support for spectral colors (monochromatic light) in `StandardMaterial` and lights
# Enable support for spectral colors (monochromatic light) in lights
spectral_lighting = ["bevy_internal/spectral_lighting"]

# Enable some limitations to be able to use WebGL2. Please refer to the [WebGL2 and WebGPU](https://github.com/bevyengine/bevy/tree/latest/examples#webgl2-and-webgpu) section of the examples README for more information on how to run Wasm builds with WebGPU.
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_internal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ pbr_anisotropy_texture = [
"bevy_gltf?/pbr_anisotropy_texture",
]

# Spectral colors (monochromatic light) in `StandardMaterial` and lights:
# Spectral colors (monochromatic light) in lights:
spectral_lighting = ["bevy_pbr?/spectral_lighting"]

# Optimise for WebGL2
Expand Down
1 change: 1 addition & 0 deletions docs/cargo_features.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ The default feature set enables most of the expected features of a game engine,
|serialize|Enable serialization support through serde|
|shader_format_glsl|Enable support for shaders in GLSL|
|shader_format_spirv|Enable support for shaders in SPIR-V|
|spectral_lighting|Enable support for spectral colors (monochromatic light) in lights|
|symphonia-aac|AAC audio format support (through symphonia)|
|symphonia-all|AAC, FLAC, MP3, MP4, OGG/VORBIS, and WAV audio formats support (through symphonia)|
|symphonia-flac|FLAC audio format support (through symphonia)|
Expand Down

0 comments on commit d43533a

Please sign in to comment.