Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save philcn/145f1ab00baad351d596 to your computer and use it in GitHub Desktop.

Select an option

Save philcn/145f1ab00baad351d596 to your computer and use it in GitHub Desktop.
Cinder 0.9.0 default shader params
https://github.com/cinder/Cinder/blob/81e55e7eb76c7c856633eaed4679aca5ab6531f4/src/cinder/gl/GlslProg.cpp#L583
https://github.com/cinder/Cinder/blob/master/src/cinder/gl/EnvironmentCore.cpp#L158
Uniforms
-------------
ciModelMatrix
ciModelMatrixInverse
ciModelMatrixInverseTranspose
ciViewMatrix
ciViewMatrixInverse
ciModelView
ciModelViewInverse
ciModelViewInverseTranspose
ciModelViewProjection
ciModelViewProjectionInverse
ciProjectionMatrix
ciProjectionMatrixInverse
ciViewProjection
ciNormalMatrix
ciViewportMatrix
ciWindowSize
ciElapsedSeconds
Attributes
-------------
ciPosition
ciNormal
ciTangent
ciBitangent
ciTexCoord0
ciTexCoord1
ciTexCoord2
ciTexCoord3
ciColor
ciBoneIndex
ciBoneWeight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment