Blur effect in real time

Previous topic - Next topic

Qedo

Blur effect in real time on sprite with transparent background (color 128,0,255).
Let me know.
Ciao


erico

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?

MrPlow

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.

:)
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

erico

Would this work with the pink transparency? It is a good quick idea.

Qedo

Did you try the program or saw the source?
Without using photoscop it does Glbasic

MrPlow

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:
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

Schranz0r

You can write and use Shaders in GLB...
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Qedo

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.

erico

#8
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?