Vulkan

2012年11月18日

II. Positioning---Chapter 3----Multiple Shaders

摘要: Multiple ShadersWell, moving the triangle around is nice and all, but it would also be good if we could do something time-based in the fragment shader... 阅读全文

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

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 阅读(125) 评论(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 阅读(142) 评论(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 阅读(183) 评论(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 阅读(367) 评论(0) 推荐(0) 编辑

导航