» 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 | 1448 downloads

anonymous user login

Shoutbox

~19h ago

joreg: Workshop on 09 05: Deepdive into the Stride 3D Engine. Signup here: https://thenodeinstitute.org/courses/ss24-vvvv-advanced-3d-rendering-in-vvvv-with-stride/

~20h ago

tekcor: Dear vvvv community, I am leaving my personal fundraiser here because I know many of you personally, sending love https://t.ly/iV9l_

~2d ago

joreg: Rewatch the 24th vvvvorldwide meetup here: https://www.youtube.com/live/gNszIiRAjDo?si=0RXF0pW73EUaRqGk

~2d ago

joreg: LINK - the vvvv summer camp 2024 is announced: https://visualprogramming.net/blog/2024/link-the-vvvv-summer-camp-24/

~4d ago

joreg: Tonight, May 3, vvvv meetup in Berlin or via stream: https://visualprogramming.net/blog/2024/24.-vvvv-worldwide-meetup/

~7d ago

joreg: Workshop on 02 05: Intro to the Stride 3D Engine. Signup here: https://thenodeinstitute.org/courses/ss24-vvvv-intro-to-the-stride-3d-engine-in-vvvv/

~8d ago

joreg: The new vvvv Show-Off-Reel is out: https://vimeo.com/930568091

~14d ago

joreg: The summer season of vvvv workshops at The NODE Institute is out: https://thenodeinstitute.org/ss24-vvvv-intermediates/