Author Topic: looking for shaders help  (Read 78 times)

jedione

  • Hero Member
  • *****
  • Posts: 506
  • punktoe
    • View Profile
looking for shaders help
« on: September 03, 2018, 08:11:23 AM »
so iv been messing around , with a blur shader and it seems to only be able to be applied
to an image..  you can size move it around ext...

was thinking what if you were to put a pic behind it,  and make the blured .frag image trans parent
via  ".alpha = 0;

you would have somthing that would look like this....blurred trans translucent boxes



not the case though..if anyone knows how this could be done or if even possile in AM
could you please chime in...  thanks

i have a theme concept that requires it.
help a friend....

zpaolo11x

  • Sr. Member
  • ****
  • Posts: 144
    • View Profile
Re: looking for shaders help
« Reply #1 on: September 03, 2018, 08:42:30 AM »
You mean you want to apply an image (or a surface) with no color data on top of your layout and have the shader applied to whatever is "behind" that surface/image? That would be neat, wondering if using gl_Color to pick the texture color could do the trick, have to try that...

jedione

  • Hero Member
  • *****
  • Posts: 506
  • punktoe
    • View Profile
Re: looking for shaders help
« Reply #2 on: September 03, 2018, 08:47:56 AM »
yes that is exactly what i want!  ;)
help a friend....