autocommit 2022-01-28 19:46:23 CET
This commit is contained in:
parent
a5573b8a3a
commit
b11a36729c
45 changed files with 1646 additions and 2171 deletions
6
src/render/shaders/fill.frag.glsl
Normal file
6
src/render/shaders/fill.frag.glsl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
precision mediump float;
|
||||
uniform vec4 color;
|
||||
|
||||
void main() {
|
||||
gl_FragColor = color;
|
||||
}
|
||||
5
src/render/shaders/fill.vert.glsl
Normal file
5
src/render/shaders/fill.vert.glsl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
attribute vec2 pos;
|
||||
|
||||
void main() {
|
||||
gl_Position = vec4(pos, 0.0, 1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue