» Shine
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Shine

effect
Credits: adapted from GPU Gems 3 Book by wirmachenbunt

about

1. This isn't a ready to go effect but an example of how to achieve something like trapcode shine plugin (after effects)
2. the trick is simple! render your scene twice
3. first rendering contains your objects in front of the sun ( see gouraudshader in main patch)
4. second rendering contains your objects in front of the sun, rendered in black (see raynagator)
5. in the background of the black version is the 'sun' ....some blurry dot you can move
6. the whole image will then be radial blurred and later added (additive) to the first rendering
7. by moving the center of the radialblur and the position of your blurry object you can control the angle of the rays
8. have fun experimenting with this technique

note from tonfilm: it is also better to send only the blur of pass two to the third pass. for that, set includeorig to 0 and change the last line of the pixelshader to:

return includorig ? (c + tex2D(Samp, TexC.xy + Center))*factor : c * factor;

download

shine.zip
12.07.10 [18:48 UTC] by wirmachenbunt | 1117 downloads

anonymous user login

Shoutbox

~23h ago

joreg: Don't forget: This months #vvvv meetup in #berlin is happening on the 27th: 12-berlin-vvvv-meetup

~23h ago

joreg: @u7 @CeeYaa, we're investigating this...

~1d ago

tonfilm: Under the hood: We switched from #SharpDX to #Xenko math. vl-switch-to-xenko-math VL vvvv #visualprogramming #dotnet #creativecoding

~1d ago

CeeYaa: haha it was frozen for 10 seconds when I send this Shout before - using Firefox

~1d ago

CeeYaa: hui really slow speed on MainPage, Contributions ... speed in Forum quite OK

~1d ago

u7angel: mmm, the site is really slow now.

~2d ago

joreg: PSA: and we're back!

~3d ago

joreg: PSA: Thursday night starting 11pm CET vvvv.org will move servers. If all goes well we should be back soon after.

~4d ago

joreg: But first: This Friday in Berlin: Join our full day "Getting started with Generative Design Algorithms" workshop https://nodeforum.org/announcements/workshop-getting-started-with-generative-design/

~4d ago

joreg: In #Linz for #ArsElectronica? Join us for a free 2 days #vvvv workshop sponsored by businesses/responsive-spaces-gmbh Apply here: 2-day-gamma-vvvvorkshop-at-responsive-spaces-in-linz