» 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:

Pixelshading

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

Vertexshading

Vertexshader Preparations
Mr. Wiggle
Function Printing
Vertex Data
Normals
Geometry Morphing

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

anonymous user login

Shoutbox

~3d ago

auralscapes: By the way, if anyone would like to use any of my tracks or even parts thereof you are welcome. No fee. jerome@auralscapes.com

~3d ago

auralscapes: Thx for the advice. Much appreciated.

~3d ago

tonfilm: @auralscapes you can contact the author @dottore and ask him for the conditions.

~3d ago

auralscapes: A question for the group. I came across an application called Partitura. Is this app commercially available?

~4d ago

auralscapes: Don't have a clue how this all works but it is going to be an interesting journey indeed.

~7d ago

tonfilm: @all #vl now also has pin groups! vl-input-and-output-pin-groups #vvvv #creativecoding #visualprogramming #dotnet

~8d ago

evvvvil: Hey, broski, check my shader "The gamma ray feast" it goes bang and is commented with bad to mediocre jokes. https://www.shadertoy.com/view/wssXWl

~10d ago

hrovac: someone at b-seite on saturday?