Closed sysedwinistrator closed 2 months ago
While I have absolutely no idea about GLSL shaders or graphics programming; I thought it to be strange that a machine that can run 3D games would not be able to render a simple background image transition. So I just gave it a try and lowered the minimum version to 310, and it works. I don't know, maybe an even lower version would also work?
Yes, on paper it should work. However, I had some issues while converting the shaders to older openGL ES versions, because some of the things I am currently using are missing and a couple of things work in a completely different way. The other issue is that the various transition animations taken from gl-transition don't work with an older version (at least not all of them).
Here you can see that the current openGL ES version pulled is 2.0, so the only thing missing is adjusting the shaders. In the meanwhile, let's lower to #version 310es
. In the future, I hope wpaperd uses #version 100es
or has a runtime check for the minimum supported version.
Thank you for the PR!
While testing https://github.com/danyspin97/wpaperd/pull/87 on my Lenovo Duet Chromebook (Mediatek MT8183 SoC, ARM Mali-G72 MP3 GPU) running NixOS, I got an error message that GLSL ES 3.20 is required while my machine only supports 3.10:
While I have absolutely no idea about GLSL shaders or graphics programming; I thought it to be strange that a machine that can run 3D games would not be able to render a simple background image transition. So I just gave it a try and lowered the minimum version to 310, and it works. I don't know, maybe an even lower version would also work?