blob: 30ba54144ce8a0901c2753eac10a6ca0fc920936 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[require]
GLSL >= 1.10
[fragment shader]
uniform vec4 color;
void main()
{
gl_FragColor = color;
}
[vertex shader]
attribute vec4 position;
void main()
{
gl_Position = position;
}
|