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

anonymous user login

Shoutbox

~5d ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~12d ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/

~12d ago

~13d ago

fleg: hey there! What's the best tool for remote work? Teamviewer feels terrible. Thanks!

~26d ago

joreg: Last call: 6-session vvvv beginner course starting November 4: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-i/

~1mth ago

joreg: Missed the last meetup? You can rewatch it here: https://www.youtube.com/live/MdvTa58uxB0?si=Fwi-9hHoCmo794Ag

~1mth ago

theurbankind: When is the next big event, like node festival ?

~1mth ago

~1mth ago

joreg: Join us for the next vvvv meetup on Oktober 17th: https://visualprogramming.net/blog/2024/25.-vvvv-worldwide-meetup/

~2mth ago

joreg: 6 session beginner course part 2 "Deep Dive" starts January 13th: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-ii/