» 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

Italian

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

~11h ago

Urbankind: circuitb:Wrongcop is epic! :)

~12h ago

joreg: @tobi: use GetSlice() as the patch i referred you to is demonstrating. or start a forum thread with your patch.

~12h ago

TobiTobsen123: hmm yes i can see the values...but how to handle them as seperate values? I need to forward them via TCP/IP...

~14h ago

joreg: @tobi: OSCDecoder helppatch has a section: OSC_Advanced (bottomright) that demoes decoding of multiple messages

~14h ago

TobiTobsen123: I'm using an OSCDecoder, it receives two arguments...works but how can I seperate the arguments into two seperate values

~17h ago

u7angel: @mediadog, make it a forum question.

~17h ago

u7angel: @mediadog, tty renderer ?

~19h ago

microdee: however non-conductive objects are invisible for this so the pencil and the sticks in the video are still a mysteries