This website uses cookies and contains YouTube videos

We use cookies to personalize content and to analyze our traffic. We also have YouTube and Vimeo videos on our website. If you continue to use this site, you accept our privacy policy.

Accept cookies

NextPreviousHomePixel Beams

michiel | 14 years ago | 8 comments | 5 likes | 5,405 views

tosin, kf_daddy and arend70 like this!

It's big fun applying this effect to different pictures. Bright colours and patterns give the best results!

It requires a graphics card that supports pixel shader 2.0 and you can animate the effect with the TRANSPARENCY property.

Download media files (103.1 KB)

Share this on Facebook Share this on Twitter

Ein wirklich schoener Effekt, nach dem ich schon lange gesucht habe. Um Portraits zu praesentieren, einer der Besten.

Ulli, 14 years ago

Wow, I hadn't thought of that, but you're right, it works great with portraits, especially when the eyes are in the centre of the picture!

michiel, 14 years ago

Very neat effect.

Question. Would it be possible to move the starting point away from the center of the picture? If so, what parameters in the fx file need to be tinkered with?

kf_daddy, 14 years ago

Somewhere in the fx file you can find this code:

C.x = (UVBounds0.x+UVBounds0.y)*0.5;
C.y = (UVBounds0.z+UVBounds0.w)*0.5;

When you change this to:


The centre of the effect is the top left corner of the picture.

Or how about this:


michiel, 14 years ago

Thanks very much. Works like a charm.

For those interested, changing C.y between 0 and 1 moves the location from top to bottom and changing C.x between 0 and 1 moves it from left to right. By using a ruler and calculating the ratios you can find the new starting point without doing a lot of trial and error guesses.

kf_daddy, 14 years ago

Or try this:

C.x = DiffuseCol.x;
C.y = 1-DiffuseCol.y;

This way, you can control the centre of the effect with the COLOUR property of the picture layer.

Coding FX files is easy!

michiel, 14 years ago

[quote]Coding FX files is easy![/quote]

It's even easier if someone else can do it for you. :-)
Thanks for that change. I'll keep both fx files handy but I think the adjustable one will get used more often.

kf_daddy, 14 years ago

This effect really cool. I love it

jsi, 14 years ago

Comment to this article

You must be logged in before you can comment to this article. Login | Register

More by michiel

About michiel

Michiel den Outer is the founder and lead coder of Outerspace Software. He lives in Rotterdam, the Netherlands.

If he isn't busy improving BluffTitler, he is playing the piano or rides the Dutch dikes on his bikes.

Contact michiel by using the comment form on this page or at