Skip to content

Commit

Permalink
fix matrices multiplying
Browse files Browse the repository at this point in the history
  • Loading branch information
JerryImMouse committed Jul 11, 2024
1 parent 50ae84d commit c24691f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Shaders/base.vert
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ uniform mat4 view;

void main()
{
gl_Position = view * model * projection * vec4(aPos, 1.0);
gl_Position = vec4(aPos, 1.0) * model * view * projection;

Color = aColor;
TexCoord = aTexCoord;
Expand Down

0 comments on commit c24691f

Please sign in to comment.