Transformation matrices
This commit is contained in:
11
assets/shaders/fragment4.glsl
Normal file
11
assets/shaders/fragment4.glsl
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user