mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 09:08:22 -05:00
9 lines
122 B
Text
9 lines
122 B
Text
|
attribute vec4 myColor;
|
||
|
uniform mat4 mvp;
|
||
|
void main ()
|
||
|
{
|
||
|
gl_Position = (mvp * gl_Vertex);
|
||
|
gl_FrontColor = myColor;
|
||
|
}
|
||
|
|