mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-12 09:11:18 -05:00
10 lines
163 B
Text
10 lines
163 B
Text
uniform mat4 mvp;
|
|
attribute vec4 myColor;
|
|
void main ()
|
|
{
|
|
gl_Position = (mvp * gl_Vertex);
|
|
gl_FrontColor = myColor;
|
|
}
|
|
|
|
|
|
// inputs: 2, stats: 1 alu 0 tex 0 flow
|