mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 09:08:22 -05:00
15 lines
314 B
Text
15 lines
314 B
Text
uniform mat4 mvp;
|
|
attribute vec4 myColor;
|
|
void main ()
|
|
{
|
|
gl_Position = (mvp * gl_Vertex);
|
|
gl_FrontColor = myColor;
|
|
}
|
|
|
|
|
|
// stats: 1 alu 0 tex 0 flow
|
|
// inputs: 2
|
|
// #0: gl_Vertex (high float) 4x1 [-1] loc 0
|
|
// #1: myColor (high float) 4x1 [-1]
|
|
// uniforms: 1 (total size: 0)
|
|
// #0: mvp (high float) 4x4 [-1]
|