Adds linear gradient support to 2D meshes in the canvas widget.
This commit is contained in:
parent
97f385e093
commit
00a8a16712
40 changed files with 2041 additions and 653 deletions
|
|
@ -11,8 +11,8 @@ out vec4 fragColor;
|
|||
#define gl_FragColor fragColor
|
||||
#endif
|
||||
|
||||
in vec4 v_Color;
|
||||
uniform vec4 color;
|
||||
|
||||
void main() {
|
||||
gl_FragColor = v_Color;
|
||||
fragColor = color;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue