GLBasic forum

Main forum => GLBasic - en => Topic started by: Qedo on 2018-Sep-16

Title: Blur effect in real time
Post by: Qedo on 2018-Sep-16
Blur effect in real time on sprite with transparent background (color 128,0,255).
Let me know.
Ciao

Title: Re: Blur effect in real time
Post by: erico on 2018-Sep-17
Scaling up the sprite slightly while decreasing transparency?
Memtosprite stuff and then process the adjacent pixels individually?

What is it that you want to achieve?
Title: Re: Blur effect in real time
Post by: MrPlow on 2018-Sep-17
Create a duplicate of the sprite and in photoshop add some gaussian blur then slowly transition the blurred sprite over the original using alphamode and a timer.

:)
Title: Re: Blur effect in real time
Post by: erico on 2018-Sep-17
Would this work with the pink transparency? It is a good quick idea.
Title: Re: Blur effect in real time
Post by: Qedo on 2018-Sep-17
Did you try the program or saw the source?
Without using photoscop it does Glbasic
Title: Re: Blur effect in real time
Post by: MrPlow on 2018-Sep-18
Just looked and tried it now - at first I thought you were asking for an easy way to do it...

Nice code! You put a lot of work into that!  :good:
Title: Re: Blur effect in real time
Post by: Schranz0r on 2018-Sep-18
You can write and use Shaders in GLB...
Title: Re: Blur effect in real time
Post by: Qedo on 2018-Sep-22
I did not explain well.
I did not ask how to get the blur effect in real time but instead I showed how to get it.
Title: Re: Blur effect in real time
Post by: erico on 2018-Sep-25
ahhhh! :-[

I thought it was a question, will download and check it out now. Thanks for sharing, I use pink transparency a lot, it could be handy! :good:

edit: Just checked it out, nice UI! Sliding things around I get some pink pixels, is that normal?