const char *im3d_vert_src =
"void main(\n"
"	float3 in_pos,\n"
"	float4 in_color,\n"
"	float2 in_tex0,\n"
"	uniform float4 u_fogData,\n"
"	uniform float4x4 u_proj,\n"
"	uniform float4x4 u_world,\n"
"	uniform float4x4 u_view,\n"
"	float4 out v_color : COLOR0,\n"
"	float2 out v_tex0 : TEXCOORD0,\n"
"	float out v_fog : FOG,\n"
"	float4 out gl_Position : POSITION\n"
") {\n"
"	float4 Vertex = u_world * float4(in_pos, 1.0);\n"
"	float4 CamVertex = u_view * Vertex;\n"
"	gl_Position = u_proj * CamVertex;\n"
"	v_color = in_color;\n"
"	v_tex0 = in_tex0;\n"
"	v_fog = DoFog(gl_Position.w, u_fogData);\n"
"}\n"
;
