Added shader loading, added glad

This commit is contained in:
2021-02-17 23:17:19 +11:00
parent 769b2a8716
commit 4d8f377d39
15 changed files with 206 additions and 393 deletions

11
assets/shaders/test.frag Normal file
View File

@ -0,0 +1,11 @@
#version 330 core
out vec4 FragColor;
in vec2 TexCoord;
uniform sampler2D uniform_Texture;
void main() {
vec4 color = texture(uniform_Texture, TexCoord);
FragColor = color;
// FragColor = vec4(1, 1, 1, 1);
}