mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
12 lines
245 B
Text
12 lines
245 B
Text
|
void main ()
|
||
|
{
|
||
|
vec4 tmpvar_1;
|
||
|
vec4 tmpvar_2;
|
||
|
tmpvar_2 = (gl_ModelViewProjectionMatrix * gl_Vertex);
|
||
|
tmpvar_1.xy = ((tmpvar_2.xy + tmpvar_2.w) * 0.5);
|
||
|
tmpvar_1.zw = tmpvar_2.zw;
|
||
|
gl_Position = tmpvar_2;
|
||
|
gl_TexCoord[0] = tmpvar_1;
|
||
|
}
|
||
|
|