Cg
66666666先生
这个作者很懒,什么都没留下…
展开
-
2.2.3 Order-Independent Transparency (about order-independent blending) 顺序无关透明度(关于顺序无关的混合)
“Where Have You Bean” by flickr user Ombligotron. The typo in the title refers to the depicted sculpture “Cloud Gate” a.k.a. “The Bean”.“84 – Father son” by Ben Newton. An example of double ex翻译 2015-09-05 15:43:54 · 848 阅读 · 0 评论 -
Cg Programming/Unity 目录
Contents1 Preliminaries2 Tutorials 2.1 Basics 2.1.1 Minimal Shader (about shaders, materials, and game objects) 2.1.2 RGB Cube (about vertex output parameters) 2.1.翻译 2015-09-04 19:00:30 · 608 阅读 · 0 评论 -
2.1.4 Shading in World Space (about uniforms) 在世界坐标系里着色(关于uniforms参数)
Some chameleons are able to change their color according to the world around them.This tutorial introducesuniform parameters. It assumes that you are familiar with Section “Minimal Shader”翻译 2015-09-05 12:40:26 · 544 阅读 · 0 评论 -
2.1.3 Debugging of Shaders (about vertex input parameters) 着色器的调试(关于顶点输入参数)
A false-color satellite image.This tutorial discusses vertex input parameters. It assumes that you are familiar withSection “Minimal Shader” and Section “RGB Cube”.This tutorial also i翻译 2015-09-05 11:42:57 · 462 阅读 · 0 评论 -
1 Preliminaries
Cg programming in the game engine Unity is considerably easier than Cg programming for an OpenGL or Direct3D application. Import of meshes and images (i.e. textures) is supported by a graphical user翻译 2015-09-04 23:52:20 · 449 阅读 · 0 评论 -
2.2.2 Transparency (about blending) 透明(关于混合)
«Le Printemps» by Pierre Auguste Cot, 1873. Note the transparent clothing.This tutorial coversblending of fragments (i.e. compositing them) using Cg shaders in Unity. It assumes that you are翻译 2015-09-05 14:35:36 · 621 阅读 · 0 评论 -
2.1.2 RGB Cube (about vertex output parameters) RGB立方体(关于顶点输出参数)
An RGB cube: the x, y, z coordinates are mapped to red, green, and blue color components.This tutorial discusses vertex output parameters and fragment input parameters. It is assumed that you翻译 2015-09-05 11:31:38 · 436 阅读 · 0 评论 -
2.2.4 Silhouette Enhancement (about transforming normal vectors) 轮廓增强(关于转换法向量)
A semitransparent jellyfish. Note the increased opaqueness at the silhouettes.Surface normal vectors (for short: normals) on a surface patch.This tutorial covers thetransformation of s翻译 2015-09-05 16:40:47 · 513 阅读 · 0 评论 -
2.1.1 Minimal Shader (about shaders, materials, and game objects) 极简的着色器(关于着色器,材质和游戏物体)
This tutorial covers the basic steps to create a minimal Cg shader in Unity.1.Starting Unity and Creating a New ProjectAfter downloading and starting Unity, you might see an empty project. If not,翻译 2015-09-05 10:27:55 · 527 阅读 · 0 评论