mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-11 00:31:28 -05:00
14 lines
214 B
Text
14 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);
|
|
}
|
|
|