mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-14 15:31:49 +00:00
Actually added ui3d shader
This commit is contained in:
parent
11d00dbbf8
commit
d6c6d13786
2 changed files with 23 additions and 0 deletions
9
res/shaders/ui3d.glslf
Normal file
9
res/shaders/ui3d.glslf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
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