Add texture shaders
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#version 430 core
|
||||
in vec2 vTexPos;
|
||||
out vec4 fColor;
|
||||
|
||||
uniform sampler2D theTexture;
|
||||
|
||||
void main()
|
||||
{
|
||||
fColor = texture(theTexture, vTexPos);
|
||||
}
|
||||
Reference in New Issue
Block a user