Page 1 of 1

Ogre3d transparency colliding with Wayland composing

Posted: Sun Mar 22, 2026 11:37 am
by paul424

Ogre Version: : 13 6 5
Operating System: :Archlinux:
Render System: :OpenGL3+
Window System: Wayland

As in title, just look at the pictures:

Image
Image
First I thought this is a problem of my Fog shader under Wayland. But no, look at the Hand which also recieves alpha transparency! It is also screwed!
Could someone do something with this ? Afaik It is not possible to disable the composition entirely under Wayland ( under X11 it's possible ) .....
I would love my game works also under Wayland :)....


Re: Ogre3d transparency colliding with Wayland composing

Posted: Thu Mar 26, 2026 9:33 pm
by rpgplayerrobin

Isn't it just because the window or framebuffer is created with an alpha channel?
Try to create it without an alpha channel.

OR

You could use this on your main viewport:
viewport->setBackgroundColour(ColourValue(0.0f, 0.0f, 0.0f, 1.0f));

OR

You could make sure your fog shader actually return 1 in alpha.