Vertex shaders optimization
This commit is contained in:
parent
bb49102a4b
commit
fb6ef2c2f4
41 changed files with 86 additions and 92 deletions
|
|
@ -336,8 +336,8 @@ typedef struct Shader {
|
|||
int colorLoc; // Color attibute location point (vertex shader)
|
||||
|
||||
// Uniforms
|
||||
int projectionLoc; // Projection matrix uniform location point (vertex shader)
|
||||
int modelviewLoc; // ModelView matrix uniform location point (vertex shader)
|
||||
int mvpLoc; // ModelView-Projection matrix uniform location point (vertex shader)
|
||||
|
||||
int modelLoc; // Model transformation matrix uniform location point (vertex shader)
|
||||
int viewLoc; // View transformation matrix uniform location point (vertex shader)
|
||||
int tintColorLoc; // Color uniform location point (fragment shader)
|
||||
|
|
|
|||
Loading…
Reference in a new issue