1
Graphics / Changing opacity of a Pixel using shaders
« on: May 30, 2012, 07:16:37 pm »
Well hello folks!
I'm doing some experience with shaders, and I'm trying to change the opacity of pixels through shaders. But since I don't know much about GLSL, I'm searching on the internet, and I can't seem to find much about changing the opacity. Is it even possible? Not talking about transparency, which would be the Alpha channel, but just make it darker, or lighter.
Thanks!
EDIT: Now I'm just being dumb! After search, and much thought, Alpha is also opacity. Forget this question! NEXT!
I'm doing some experience with shaders, and I'm trying to change the opacity of pixels through shaders. But since I don't know much about GLSL, I'm searching on the internet, and I can't seem to find much about changing the opacity. Is it even possible? Not talking about transparency, which would be the Alpha channel, but just make it darker, or lighter.
Thanks!
EDIT: Now I'm just being dumb! After search, and much thought, Alpha is also opacity. Forget this question! NEXT!