mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 17:18:12 -05:00
15 lines
164 B
Text
15 lines
164 B
Text
|
#version 140
|
||
|
|
||
|
uniform vec2 p;
|
||
|
|
||
|
in vec4 position;
|
||
|
in vec4 icol;
|
||
|
|
||
|
out vec4 col;
|
||
|
|
||
|
void main (void)
|
||
|
{
|
||
|
col = icol;
|
||
|
gl_Position = vec4(p, 0.0, 0.0) + position;
|
||
|
}
|