Vulkan

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 27 下一页

2012年11月18日

II. Positioning---Chapter 3----More Power to the Shaders

摘要: More Power to the ShadersIt's all well and good that we are no longer having to transform vertices manually. But perhaps we can move more things to th... 阅读全文

posted @ 2012-11-18 19:42 Vulkan 阅读(124) 评论(0) 推荐(0) 编辑

II. Positioning---Chapter 3----A Better Way

摘要: A Better WayThis is fine for a 3-vertex example. But imagine a scene involving millions of vertices (and no, that's not an exaggeration for high-end a... 阅读全文

posted @ 2012-11-18 19:40 Vulkan 阅读(141) 评论(0) 推荐(0) 编辑

II. Positioning---Chapter 3----Moving the Vertices

摘要: Chapter 3. OpenGL's Moving TriangleThis tutorial is about how to move objects around. It will introduce new shader techniques.Moving the VerticesThe s... 阅读全文

posted @ 2012-11-18 19:39 Vulkan 阅读(182) 评论(0) 推荐(0) 编辑

坑爹的GLSL

摘要: #version 400layout(location = 0) in vec4 position;void main(){gl_Position= vec4(position);}#version 400out vec4 outputColor;void main(){outputColor=ve... 阅读全文

posted @ 2012-11-18 14:37 Vulkan 阅读(358) 评论(0) 推荐(0) 编辑

2012年11月17日

glVertexAttribPointer()

摘要: NameglVertexAttribPointer — 定义顶点属性数组C Specificationvoid glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei str... 阅读全文

posted @ 2012-11-17 20:40 Vulkan 阅读(589) 评论(0) 推荐(0) 编辑

2012年11月16日

I. The Basics---Chapter 2----Vertex Attributes

摘要: 原文地址http://www.arcsynthesis.org/gltut/Basics/Tut02%20Vertex%20Attributes.htmlVertex AttributesUsing the fragment position in a fragment shader is quit... 阅读全文

posted @ 2012-11-16 19:53 Vulkan 阅读(239) 评论(0) 推荐(0) 编辑

I. The Basics---Chapter 2----Fragment Position Display

摘要: http://www.arcsynthesis.org/gltut/Basics/Tutorial%2002.html#FragPositionChapter 2. Playing with ColorsThis tutorial will show how to provide some colo... 阅读全文

posted @ 2012-11-16 19:52 Vulkan 阅读(147) 评论(0) 推荐(0) 编辑

I. The Basics---Chapter 1----Making Shaders

摘要: http://www.arcsynthesis.org/gltut/Basics/Tut01%20Making%20Shaders.htmlMaking ShadersWe glossed over exactly how these text strings called shaders actu... 阅读全文

posted @ 2012-11-16 19:42 Vulkan 阅读(119) 评论(0) 推荐(0) 编辑

I. The Basics---Chapter 1----Following the Data

摘要: http://www.arcsynthesis.org/gltut/Basics/Tut01%20Following%20the%20Data.htmlFollowing the DataIn the basic background section, we described the functi... 阅读全文

posted @ 2012-11-16 19:42 Vulkan 阅读(122) 评论(0) 推荐(0) 编辑

I. The Basics---Chapter 1----Dissecting Display

摘要: http://www.arcsynthesis.org/gltut/Basics/Tut01%20Dissecting%20Display.htmlDissecting DisplayThe display function seems on the surface to be fairly sim... 阅读全文

posted @ 2012-11-16 19:37 Vulkan 阅读(122) 评论(0) 推荐(0) 编辑

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 27 下一页

导航