» 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

~6d ago

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

~7d ago

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

~20d 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/

~1mth ago

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

~1mth ago

joreg: 6 session beginner course part 1 "Playground" starts November 4th: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-i/