bevyengine / bevyengine/bevy

Using msaa with the DepthPrepass results in errors on webgl2

Open
#9,711 3 comments 1 reaction 0 assignees View on GitHub
A-Rendering C-Bug O-WebGL2
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version

807d6465d220015b8eacf4a51071b1165bb9d27f

## What you did

Tried to use the depth prepass with webgl2

## What went wrong

Got these errors:

Both Chrome & Firefox with: `wasm.js:394 panicked at 'Tex storage 2D multisample is not supported', [...]\.cargo\registry\src\index.crates.io-6f17d22bba15001f\glow-0.12.2\src\web_sys.rs:3141:9`

Tested by adding the `DepthPrepass` to the `3d_scene` example with MSAA enabled.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.