mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-03 12:49:17 -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)
|
#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
|
```glsl
|
||||||
uniform mat4 mvp; // VS: ModelViewProjection matrix
|
uniform mat4 mvp; // VS: ModelViewProjection matrix
|
||||||
uniform mat4 matView; // VS: View matrix
|
uniform mat4 matView; // VS: View matrix
|
||||||
|
|||||||
Reference in New Issue
Block a user