Skip to content

transparent: true works only partially (white background at start) when loading URI #3

@blaind

Description

@blaind

Currently, transparency doesn't work before the URI has been loaded.

Cause: PbrBundle will contain a blended material at startup. However, the default color is RGB(A?) 1,1,1,1. Since colors are multiplied with texture, the color should probably changed at first texture update.

StandardMaterial {
  alpha_mode: AlphaMode::Blend,
  unlit: true,
  ..Default::default()
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-BugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions