Skip to content

AtmosphereEnvironmentMapLight and GeneratedEnvironmentMapLight are extremely slow #24517

@beicause

Description

@beicause

AtmosphereEnvironmentMapLight and GeneratedEnvironmentMapLight are extremely slow even on desktop:

SystemInfo { os: "Linux (Arch Linux)", kernel: "7.0.10-arch1-1", cpu: "AMD Ryzen 7 4800U with Radeon Graphics", core_count: "8", memory: "15.0 GiB" }
cargo r -p bevy_city -r -- --size 5

Without AtmosphereEnvironmentMapLight 58 fps:

Image

With AtmosphereEnvironmentMapLight 13 fps:

Image
cargo r --example reflection_probes -r

With EnvironmentMapLight 59 fps:

Image

With GeneratedEnvironmentMapLight 17 fps:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-PerformanceA change motivated by improving speed, memory usage or compile timesS-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Needs SME Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions