nannou-org / nannou

A Creative Coding Framework for Rust.
https://nannou.cc/
6.02k stars 304 forks source link

Window Transparency Issue win11 #963

Closed danielnehrig closed 3 weeks ago

danielnehrig commented 8 months ago

I'm on latest crate release of nannou Using windows11 issues happen with all backends that work on win11 I'm having issues to get window transparency to work despite setting flags like this:

    let window_id = app
        .new_window()
        .transparent(true)
        .always_on_top(true)
        // .fullscreen()
        .clear_color(rgba(0.1, 0.1, 0.2, 0.4))
        .size(WIDTH as u32, HEIGHT as u32)
        .view(view)
        .decorations(false)
        .raw_event(raw_window_event)
        .build()
        .unwrap();

am i doing something wrong ? i also tested it with other backends like DX12

danielnehrig commented 8 months ago

also looked at this post https://github.com/nannou-org/nannou/issues/385#issuecomment-1290206536 which did not do the trick

danielnehrig commented 3 weeks ago

closed due to this is a amd surface capabilities exclusive issue