feat: stroke tessellation and gpu rendering
This commit is contained in:
10
shaders/triangle.frag.glsl
Normal file
10
shaders/triangle.frag.glsl
Normal file
@@ -0,0 +1,10 @@
|
||||
#version 320 es
|
||||
precision mediump float;
|
||||
|
||||
uniform vec4 uColor; // RGBA
|
||||
|
||||
out vec4 FragColor;
|
||||
|
||||
void main() {
|
||||
FragColor = uColor;
|
||||
}
|
||||
Reference in New Issue
Block a user