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

cn.Tutorial - Of Effects and Shaders

English | Italian | French | Japanese

在这个教程里我们将一步一步的带着你完成你的第一个像素/顶点着色器。非常好的是使用着色器入门十分简单。实际上没有太多的知识你需要掌握。甚至要了解更高级的东西(像灯光)原理也是一样的,你仅仅是需要对涉及数学的知识有更好的理解,但这是不同的另外一个领域的知识。

那么让我们从一些相关的概念进入:

Direct3D中 (vvvv的渲染引擎是基于Direct3D)像素/顶点着色器在被成为Effects的容器中被处理。在你更加深入的学习之前,我们推荐你查阅文档中的Graphics章节,通读在那里找到的与 EX9...关联的内容,对这个主题有个大概的了解。如果你不愿意现在去阅读,一旦你碰到具体的问题你可以回过头去查阅这部分内容。

接下来请潜心一遍遍的阅读下面的内容:

像素着色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

这个教程中的所有的patches and effects都在这个文件中:of-effects-and-shaders

anonymous user login

Shoutbox

~18h ago

joreg: Two #vvvv workshops this week in #berlin: Friday: Physical Computing, Saturday: Computer Vision. Tickets: upcoming-full-day-vvvv-gamma-workshops-in-berlin

~1d ago

joreg: @cznickesz also feel free to join our chat for such questions: chat

~1d ago

cznickesz: @joreg: Yeah, I´ll give it a try! Thx

~1d ago

joreg: @cznickesz: we're hoping this week. but depends on feedback. please test your project and let us know if it works.

~2d ago

cznickesz: @joreg: I should stop asking my questions so cryptic ;-) So right away: is final Beta39 hours, days or weeks away?

~2d ago

joreg: @cznickesz: the idea of an RC is exactly to make sure your projects will work with it. your last chance to report problems with b39.

~2d ago

cznickesz: So how "RC" is the "RC3"? I have to update an old project soon and I´m wondering if I should wait and directly update to Beta39

~2d ago

joreg: @takuma, the "one frame" issue was fixed in RC3 for beta39, see: beta39-release-candidate

~2d ago

Takuma: @joreg thank!! Ill try this. Are there a way to send video texture from vvvv to vl? fromimage node in vl somehow only sends 1 frame

~2d ago

cznickesz: @ravasquez thx, so I need to stop avoiding nuget in the end ;-)