While you're here, please consider supporting GamingOnLinux on:
Reward Tiers:
Patreon. Plain Donations:
PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers:
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- Linux and open source getting age checking exemptions could be problematic
- Steam Deck stock returns but there's a big price increase
- Dusklight the reimplementation of The Legend of Zelda: Twilight Princess gets a major update
- Proton-CachyOS adds low latency layer and Discord rich presence support
- Flathub moves to ban nearly all apps and submissions made with generative AI
- > See more over 30 days here
- Shop Crush - Psychological Horror Thrift Sim with Literal Illusio…
- hollowlimb - Fully native alternative to ProtonDB
- PlayingOnLinuxphone - Feedback needed - future website updates
- Liam Squires-Hand - New Desktop Screenshot Thread
- Hamish - Restrict way kernel-level-anti-cheat is installed.
- PlayingOnLinuxphone - See more posts
Anticheat check - which competitive games actually work on Linux?
How to give Valve feedback when Proton games have issues on Linux / SteamOS
#version 450 core
out vec4 color;
void main()
{
color = vec4(abs(gl_FragCoord.x), abs(gl_FragCoord.y), abs(gl_FragCoord.z), 0.0);
}
I'm expecting every pixel drawn to be a different color but instead I'm getting a solid yellow color like so:
What am I doing wrong? (opengl 4.5 core btw if you didn't notice)
Disclaimer: It's been long a while since I've tampered with shaders, so I could be entirely wrong ;)
(screen tearing lol)
Thanks everyone
glBindFragDataLocation(shaderProgram, 0, "color");Also you want your alpha to be at full value, so 1.0, not 0.0. And your colors will be solid, because gl_FragCoord values are way above 1.0, and 1.0 is full value. You can try dividing them by your screen size.