New assets

This commit is contained in:
MihailRis 2022-03-20 23:46:43 +03:00 • committed by GitHub
parent b57b73073e
commit e96fd909ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 0 deletions

11
res/ui.glslf Normal file
View file

@ -0,0 +1,11 @@
#version 330 core
in vec2 a_textureCoord;
in vec4 a_color;
out vec4 f_color;
uniform sampler2D u_texture;
void main(){
f_color = a_color * texture(u_texture, a_textureCoord);
}