fix: correct matrix order

This commit is contained in:
ktyl 2023-08-13 22:57:05 +02:00
parent 26600b8688
commit f752fa0c80
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ out vec3 FragPos;
void main()
{
vec4 pos = vec4(aPos, 1.0);
mat4x4 mvp = _Projection * _Model * _View;
mat4x4 mvp = _Projection * _View * _Model;
gl_Position = mvp * pos;
FragPos = vec3(_Model * pos);