From 8a17bb7f2755d71f1ab4fb53bd02a986673a20ca Mon Sep 17 00:00:00 2001 From: Marco Buono Date: Sun, 24 Sep 2023 16:56:14 -0300 Subject: [PATCH] Make `pbr_transmission_textures` description shorter, update docs --- Cargo.toml | 3 +-- docs/cargo_features.md | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 036c927cd0..24cda17618 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -238,8 +238,7 @@ shader_format_glsl = ["bevy_internal/shader_format_glsl"] # Enable support for shaders in SPIR-V shader_format_spirv = ["bevy_internal/shader_format_spirv"] -# Enable support for transmission-related textures in the `StandardMaterial`, at the risk of blowing past -# the global, per-shader texture limit in lower-end GPUs (i.e. `MAX_TEXTURE_IMAGE_UNITS` in OpenGL/WebGL) +# Enable support for transmission-related textures in the `StandardMaterial`, at the risk of blowing past the global, per-shader texture limit in lower-end GPUs pbr_transmission_textures = ["bevy_internal/pbr_transmission_textures"] # Enable some limitations to be able to use WebGL2. If not enabled, it will default to WebGPU in Wasm diff --git a/docs/cargo_features.md b/docs/cargo_features.md index 812e145aae..27578d2d2f 100644 --- a/docs/cargo_features.md +++ b/docs/cargo_features.md @@ -57,7 +57,7 @@ The default feature set enables most of the expected features of a game engine, |jpeg|JPEG image format support| |minimp3|MP3 audio format support (through minimp3)| |mp3|MP3 audio format support| -|pbr_transmission_textures|Enable support for transmission-related textures in the `StandardMaterial`, at the risk of blowing past the texture limit in lower-end adapters| +|pbr_transmission_textures|Enable support for transmission-related textures in the `StandardMaterial`, at the risk of blowing past the global, per-shader texture limit in lower-end GPUs| |pnm|PNM image format support, includes pam, pbm, pgm and ppm| |serialize|Enable serialization support through serde| |shader_format_glsl|Enable support for shaders in GLSL|