Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Changing opacity of a Pixel using shaders  (Read 1730 times)

0 Members and 1 Guest are viewing this topic.

Rosme

  • Full Member
  • ***
  • Posts: 169
  • Proud member of the shoe club
    • View Profile
    • Code-Concept
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!
« Last Edit: May 30, 2012, 07:31:40 pm by Rosme »
GitHub
Code Concept
Twitter
Rosme on IRC/Discord

 

anything