» 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

~2d ago

evvvvil: My refracted brutalism shader... Sucking sweet refracted milk off the tits of schlick fresneled reflections. https://www.shadertoy.com/view/wt33RN

~3d ago

io: @sinao build the cube in a 3d editor soft such as Blender and do the UV mapping there

~3d ago

sinao: one side

~3d ago

sinao: How to apply texture only on one of a cube?

~3d ago

tonfilm: Just updated the CraftLie rendering pack to latest: craftlie-dx11-drawing-for-vl

~8d ago

microdee: 2 seconds later: I asked before googling, but why do you need OS support for texture compression?

~8d ago

microdee: what's BC7?

~8d ago

antokhio: https://aka.ms/AA65g28 upvote pls for bc7 support in windows