|
|
@ -65,7 +65,7 @@ When loading a shader, raylib tries to find some default attributes and uniforms |
|
|
|
#define RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE2 "texture2" // texture2 (texture slot active 2) |
|
|
|
``` |
|
|
|
|
|
|
|
The uniform locations belong to VertesShader or FragmentShader: |
|
|
|
The uniform locations belong to VertexShader or FragmentShader: |
|
|
|
```glsl |
|
|
|
uniform mat4 mvp; // VS: ModelViewProjection matrix |
|
|
|
uniform mat4 matView; // VS: View matrix |
|
|
|