Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save superboy0712/19e2c190d42d2aaea7545f4cee4bf4dd to your computer and use it in GitHub Desktop.
Save superboy0712/19e2c190d42d2aaea7545f4cee4bf4dd 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