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

anonymous user login

Shoutbox

~2d ago

blausand: Ill be in #Warszawa next weekend. Any #vvvv people around to meet?

~3d ago

sebescudie: Last call, c'est ce soir : webinaire en français pour débutants sur #vvvv gamma! https://thenodeinstitute.org/event/introduction-au-creative-coding-avec-vvvv-gamma-francais/

~4d ago

domj: Ultra high definition volumetric visualization using GPUDirect storage https://youtu.be/GAZP1NcdWMo

~7d ago

CeeYaa: thx for V4-Meetup - some days ago 40th_RetuneStudioVisit from old friends RefikAnadol and Quadrature https://vimeo.com/429510091

~9d ago

david: 4. worldwide vvvv meetup will be here...https://www.youtube.com/watch?v=i0zd68tDUVE

~12d ago

mediadog: @metrowave Magnetic repulsion has always been pure magic to me, proof we only sense a small part of the universe - thanks!

~14d ago

guest: @graphicuserinterface cool project!combined with osc learn & setio plugin (exposed iobox) achieving some fake OscQuery setup

~14d ago

joreg: Letzter Aufruf für das heutige Webinar: creativecoding mit der visuellen Programmiersprache #vvvv gamma https://thenodeinstitute.org/event/einfuhrung-in-creative-coding-mit-vvvv-gamma/