Drawing Penger :)
This commit is contained in:
@@ -5,6 +5,6 @@ out vec4 fragcolor;
|
||||
|
||||
void main(){
|
||||
|
||||
fragcolor = texture( image , texCoord) * vec4(1.0, 0.5, 0.2, 1.0);
|
||||
fragcolor = texture(image, texCoord); // vec4(1.0, 0.5, 0.2, 1.0);
|
||||
|
||||
}
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
#version 460 core
|
||||
|
||||
layout (location = 0) in vec3 aPos;
|
||||
layout (location = 1) in vec2 aTex;
|
||||
out vec2 texCoord;
|
||||
|
||||
void main(){
|
||||
gl_Position = vec4(aPos, 1.0);
|
||||
};
|
||||
texCoord = aTex;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user