Coin Logo http://www.coin3d.org/
http://www.kongsberg.com/kogt/

Classes
Shader Classes

Classes

class  SoVertexAttributeBinding
 The SoVertexAttributeBinding class is a node for setting up how vertex attributes are mapped to shapes. More...
 
class  SoVertexAttribute
 A generic node for providing GL vertex attributes of various types. More...
 
class  SoShaderObject
 
class  SoShaderProgram
 The SoShaderProgram class is used to specify a set of vertex/geometry/fragment objects. More...
 

Detailed Description

Coin-2.5 added support for Shaders. Shaders replace the fixed function vertex and fragment processing in OpenGL by letting the user define the processing that takes place at key points in the OpenGL pipeline. Vertex shaders handle the operations that occur on each vertex, while fragment shaders handle the operations that occur on each pixel. The SoShaderProgram node in Coin provides a convenient way of specifying the code for vertex and fragment shaders.

Coin-3.0 expanded upon the shader support by adding support for OpenGL Vertex Attributes. When using shaders, programmers are no longer limited to the set of attributes that OpenGL defines (glColor, glNormal, glTexCoord etc.) You can now define your own per-vertex data and pass them to the shaders using the SoVertexAttribute node.


Copyright © by Kongsberg Oil & Gas Technologies. All rights reserved.

Generated for Coin by Doxygen