Transformation matrices

This commit is contained in:
2022-02-01 21:44:13 +01:00
parent cc2801dcc8
commit f211508e15
5 changed files with 73 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
#version 330 core
out vec4 FragColor;
in vec3 ourColor;
in vec2 TextureCords;
uniform sampler2D Texture;
void main() {
FragColor = texture(Texture, TextureCords) * vec4(ourColor, 1.0);
}