From 2da45423aee9a924e6ce419e4de79887dc0fddcd Mon Sep 17 00:00:00 2001 From: Marco Buono Date: Sun, 24 Sep 2023 14:47:56 -0300 Subject: [PATCH] Remove mentions of texture packing --- crates/bevy_pbr/src/pbr_material.rs | 42 ----------------------------- 1 file changed, 42 deletions(-) diff --git a/crates/bevy_pbr/src/pbr_material.rs b/crates/bevy_pbr/src/pbr_material.rs index 1bacb9605b..445ceae46a 100644 --- a/crates/bevy_pbr/src/pbr_material.rs +++ b/crates/bevy_pbr/src/pbr_material.rs @@ -165,20 +165,6 @@ pub struct StandardMaterial { /// /// **Important:** The [`StandardMaterial::diffuse_transmission`] property must be set to a value higher than 0.0, /// or this texture won't have any effect. - /// - /// ## Texture Packing - /// - /// Due to how channels are mapped, you can more efficiently use a single shared texture image - /// for configuring the following: - /// - /// - R - `transmission_texture` - /// - G - `thickness_texture` - /// - B - _unused_ - /// - A - `diffuse_transmission_texture` - /// - /// The `KHR_materials_diffuse_transmission` glTF extension also defines a `diffuseTransmissionColorTexture`, - /// that _we don't currently support_. One might choose to pack the intensity and color textures together, - /// using RGB for the color and A for the intensity, in which case this packing advice doesn't really apply. #[texture(17)] #[sampler(18)] #[cfg(feature = "pbr_transmission_textures")] @@ -211,20 +197,6 @@ pub struct StandardMaterial { /// /// **Important:** The [`StandardMaterial::transmission`] property must be set to a value higher than 0.0, /// or this texture won't have any effect. - /// - /// ## Texture Packing - /// - /// Due to how channels are mapped, you can more efficiently use a single shared texture image - /// for configuring the following: - /// - /// - R - `transmission_texture` - /// - G - `thickness_texture` - /// - B - _unused_ - /// - A - `diffuse_transmission_texture` - /// - /// The `KHR_materials_diffuse_transmission` glTF extension also defines a `diffuseTransmissionColorTexture`, - /// that _we don't currently support_. One might choose to pack the intensity and color textures together, - /// using RGB for the color and A for the intensity, in which case this packing advice doesn't really apply. #[texture(13)] #[sampler(14)] #[cfg(feature = "pbr_transmission_textures")] @@ -248,20 +220,6 @@ pub struct StandardMaterial { /// /// **Important:** The [`StandardMaterial::thickness`] property must be set to a value higher than 0.0, /// or this texture won't have any effect. - /// - /// ## Texture Packing - /// - /// Due to how channels are mapped, you can more efficiently use a single shared texture image - /// for configuring the following: - /// - /// - R - `transmission_texture` - /// - G - `thickness_texture` - /// - B - _unused_ - /// - A - `diffuse_transmission_texture` - /// - /// The `KHR_materials_diffuse_transmission` glTF extension also defines a `diffuseTransmissionColorTexture`, - /// that _we don't currently support_. One might choose to pack the intensity and color textures together, - /// using RGB for the color and A for the intensity, in which case this packing advice doesn't really apply. #[texture(15)] #[sampler(16)] #[cfg(feature = "pbr_transmission_textures")]