Skip to content

wasm: shadows are broken-looking in lighting example #7397

@rparrett

Description

@rparrett

Bevy version

main

Relevant system information

chrome

AdapterInfo { name: "ANGLE (Apple, Apple M1 Max, OpenGL 4.1)", vendor: 4203, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Gl }

What you did

with wasm-server-runner
cargo run --example lighting --target=wasm32-unknown-unknown

What went wrong

image

Additional information

The shadow cascades are adjusted for this example, but in a way that breaks them on wasm due to num_cascades being > 1.

load_gltf may be broken too, but if it is, it's less obvious.

Both of these examples are built for https://bevyengine.org/examples/

related: #7362

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions