Skip to content

Commit 1b6de76

Browse files
authored
Disable wasm / webgpu building of wireframe example (#8678)
# Objective Remove the wireframe example on the WebGPU examples page as it does not render properly. When run in a browser it will render to all white cube due PolygonMode::LINE not being supported in WebGPU. Relevant docs: https://wgpu.rs/doc/wgpu/struct.Features.html#associatedconstant.POLYGON_MODE_LINE When Rendered with WebGPU: <img width="675" alt="image" src="https://github.com/bevyengine/bevy/assets/644930/86c7623c-3e18-42d2-8231-099da10cf6c4"> ## Solution Disable this example when building for WebGPU / wasm.
1 parent 6b292d4 commit 1b6de76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ path = "examples/3d/wireframe.rs"
716716
name = "Wireframe"
717717
description = "Showcases wireframe rendering"
718718
category = "3D Rendering"
719-
wasm = true
719+
wasm = false
720720

721721
[[example]]
722722
name = "no_prepass"

0 commit comments

Comments
 (0)