mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Changed line: "The uniform locations belong to VertexShader or FragmentShader:"
@ -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
|
||||
|
||||
Reference in New Issue
Block a user