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