mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 06:51:51 +00:00
New assets
This commit is contained in:
parent
b57b73073e
commit
e96fd909ea
3 changed files with 27 additions and 0 deletions
11
res/ui.glslf
Normal file
11
res/ui.glslf
Normal 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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue