» Tutorial - Of Effects and Shaders
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Tutorial - Of Effects and Shaders

Mandarin | Italian | French | Japanese

In this tutorial we'll take you step by step through your first pixel- and vertexshaders. The good thing with shaders is that the basics are really simple. There are actually not many things you need to know about. And even for realizing more advanced stuff (like lighting) the principles are the same and you only need a better understanding of the math involved, which is a different story.

So lets start with getting the vocabulary straight:

In Direct3D (which vvvvs render engine is based on) pixel- and vertexshaders are dealt with in so called Effects. Before reading any further we'd recommend you to check the Graphics section of the documentation and read through the EX9... links you find there to get a basic overview of the topic. Or at least if you're not in the mood to read that now make sure to check back there as soon as specific questions arise.

And now please dive into the following pages one after the other:


Pixelshader Preparations
Manipulating Colors
Texture Coordinates
Neighbouring Pixels
Multiple Textures
Multiple Passes


Vertexshader Preparations
Mr. Wiggle
Function Printing
Vertex Data
Geometry Morphing

All patches and effects of this tutorial in a pack: of-effects-and-shaders

anonymous user login


~11h ago

joreg: another release candidate is out for the weekend: beta36-release-candidate #vvvv please test and report!

~2d ago

microdee: I realized that I will just do those updates on separate branches, Still stay tuned...

~2d ago

microdee: I'm making mp.* packs CI and release friendly. Meanwhile vpm downloads might not work with them for a bit. Stay tuned...

~2d ago

~3d ago

karistouf: thank you joreg

~3d ago

joreg: good to hear!

~3d ago

Xini: the old problem was the renderer on a second screen freezing when fullsize, under certain conditions which i can't remember now...

~3d ago

Xini: @joreg now i got hold of a projector and i tested, should be fine! :D @joreg

~3d ago

joreg: i'm not exactly sure what "old problem" you're talking about. have you tested if it still exists?

~3d ago

Xini: tx @joreg . Do you think it's better for me to install a 32bit version of vvvv, or is there another workaround for that old problem?