Initial commit
This commit is contained in:
12
resources/shaders/fragment/texture2d.frag
Normal file
12
resources/shaders/fragment/texture2d.frag
Normal file
@@ -0,0 +1,12 @@
|
||||
#version 330
|
||||
in vec2 vTextureCoord;
|
||||
|
||||
uniform sampler2D uTexture;
|
||||
|
||||
out vec4 fColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
vec4 texCol = texture(uTexture, vTextureCoord);
|
||||
fColor = texCol;
|
||||
}
|
||||
Reference in New Issue
Block a user