diff options
| author | Ray <[email protected]> | 2023-11-10 13:33:42 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-11-10 13:33:42 +0100 |
| commit | 30dcbaff2025bfa76342b4cfb702c2bb813fb106 (patch) | |
| tree | c98120e8a38a0b7497160f8adf8167fceb622b3f | |
| parent | 737cd0be7fb009bf837a00847128b00051c5f096 (diff) | |
| download | raylib-30dcbaff2025bfa76342b4cfb702c2bb813fb106.tar.gz raylib-30dcbaff2025bfa76342b4cfb702c2bb813fb106.zip | |
Update rlgl.h
| -rw-r--r-- | src/rlgl.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -59,7 +59,7 @@ * #define RL_CULL_DISTANCE_NEAR 0.01 // Default projection matrix near cull distance * #define RL_CULL_DISTANCE_FAR 1000.0 // Default projection matrix far cull distance * -* When loading a shader, the following vertex attribute and uniform +* When loading a shader, the following vertex attributes and uniform * location names are tried to be set automatically: * * #define RL_DEFAULT_SHADER_ATTRIB_NAME_POSITION "vertexPosition" // Bound by default to shader location: 0 @@ -67,6 +67,7 @@ * #define RL_DEFAULT_SHADER_ATTRIB_NAME_NORMAL "vertexNormal" // Bound by default to shader location: 2 * #define RL_DEFAULT_SHADER_ATTRIB_NAME_COLOR "vertexColor" // Bound by default to shader location: 3 * #define RL_DEFAULT_SHADER_ATTRIB_NAME_TANGENT "vertexTangent" // Bound by default to shader location: 4 +* #define RL_DEFAULT_SHADER_ATTRIB_NAME_TEXCOORD2 "vertexTexCoord2" // Bound by default to shader location: 5 * #define RL_DEFAULT_SHADER_UNIFORM_NAME_MVP "mvp" // model-view-projection matrix * #define RL_DEFAULT_SHADER_UNIFORM_NAME_VIEW "matView" // view matrix * #define RL_DEFAULT_SHADER_UNIFORM_NAME_PROJECTION "matProjection" // projection matrix |
