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.
//! Shows how to render to a texture. Useful for mirrors, UI, or exporting images. use PI; use ; // Marks the first pass cube (rendered to a texture.) ; // Marks the main pass cube, to which the texture is applied. ; /// Rotates the inner cube (first pass) /// Rotates the outer cube (main pass)