Skip to content

Instantly share code, notes, and snippets.

@cwhitney
Last active September 5, 2018 00:39
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save cwhitney/ef9a767998471a3fe1b9 to your computer and use it in GitHub Desktop.
Save cwhitney/ef9a767998471a3fe1b9 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