Support WarningWebGPU is currently only supported on Chrome starting with version 113, and only on desktop. If they don't work on your configuration, you can check the WebGL2 examples here.
//! Demonstrates how to use transparency in 3D. //! Shows the effects of different blend modes. //! The `fade_transparency` system smoothly changes the transparency over time. use *; /// Fades the alpha channel of all materials between 0 and 1 over time. /// Each blend mode responds differently to this: /// - [`Opaque`](AlphaMode::Opaque): Ignores alpha channel altogether, these materials stay completely opaque. /// - [`Mask(f32)`](AlphaMode::Mask): Object appears when the alpha value goes above the mask's threshold, disappears /// when the alpha value goes back below the threshold. /// - [`Blend`](AlphaMode::Blend): Object fades in and out smoothly.