Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: jedione on September 03, 2018, 08:11:23 AM

Title: looking for shaders help
Post by: jedione 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

(http://i67.tinypic.com/2mpah53.png)

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.
Title: Re: looking for shaders help
Post by: zpaolo11x 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...
Title: Re: looking for shaders help
Post by: jedione on September 03, 2018, 08:47:56 AM
yes that is exactly what i want!  ;)