- Brick Shader Overview
- Vertex Shader
- Fragment Shader
- Observations
- Summary
- Further Information
6.6 Further Information
The brick shader presented in this chapter is similar to the RenderMan brick shader written by Darwyn Peachey (2002) and presented in the book, Texturing and Modeling: A Procedural Approach, Third Edition. This shader and others are available from the 3Dlabs developer Web site. Source code for getting started with OpenGL shaders is also available.
[1] 3Dlabs developer Web site. http://www.3dlabs.com/support/developer
[2] Ebert, David S., John Hart, Bill Mark, F. Kenton Musgrave, Darwyn Peachey, Ken Perlin, and Steven Worley, Texturing and Modeling: A Procedural Approach, Third Edition, Morgan Kaufmann Publishers, San Francisco, 2002. http://www.texturingandmodeling.com
[3] Kessenich, John, Dave Baldwin, and Randi Rost, The OpenGL Shading Language, Version 1.051, 3Dlabs, February 2003. http://www.3dlabs.com/support/developer/ogl2
[4] OpenGL Architecture Review Board, ARB_vertex_shader Extension Specification, OpenGL Extension Registry. http://oss.sgi.com/projects/ogl-sample/registry
[5] OpenGL Architecture Review Board, ARB_fragment_shader Extension Specification, OpenGL Extension Registry. http://oss.sgi.com/projects/ogl-sample/registry
[6] OpenGL Architecture Review Board, ARB_shader_objects Extension Specification, OpenGL Extension Registry. http://oss.sgi.com/projects/ogl-sample/registry