Add game framework and whitebox level
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#version 330 core
|
||||
in vec2 v_texCoord;
|
||||
in vec4 v_color;
|
||||
|
||||
uniform sampler2D u_texture;
|
||||
|
||||
out vec4 FragColor;
|
||||
|
||||
void main() {
|
||||
FragColor = texture(u_texture, v_texCoord) * v_color;
|
||||
}
|
||||
Reference in New Issue
Block a user