» 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

~23min ago

~2d ago

joreg: Follow TobyK on his Advent of Code: https://www.twitch.tv/tobyklight

~5d ago

joreg: vvvvTv S02E02 is out: Saving & Loading UI State: https://www.youtube.com/live/GJQGVxA1pIQ

~5d ago

joreg: We now have a presence on LinkedIn: https://www.linkedin.com/company/vvvv-group

~12d ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~19d ago

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

~19d ago

~19d ago

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

~1mth ago

joreg: Last call: 6-session vvvv beginner course starting November 4: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-i/

~2mth ago

joreg: Missed the last meetup? You can rewatch it here: https://www.youtube.com/live/MdvTa58uxB0?si=Fwi-9hHoCmo794Ag