» 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

~13h ago

metrowave: Collection of replicable research: http://www.replicabilitystamp.org/

~16h ago

~5d ago

joreg: @ravazquez always trying to diversivvvvy...

~5d ago

ravazquez: I did not know you were making plates as well: http://www.clairewan.com/

~9d ago

evvvvil: "Pounding Aldebaran" raymarching shader live coded on Twitch. https://www.shadertoy.com/view/tt3SWB

~10d ago

joreg: Tomorrow Thrs, Feb 12: #vvvv Patching Circle: We're there to help! https://gettogether.community/events/3965/vvvv-berlin-patching-circle-5/ No excuses, it's free and there are drinks!

~14d ago

evvvvil: "The reaper's gallows" shader live coded on twitch. Abrasive comments back by popular demand. https://www.shadertoy.com/view/ttcSD4

~18d ago