Added shader loading, added glad
This commit is contained in:
11
assets/shaders/test.frag
Normal file
11
assets/shaders/test.frag
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user