-" vec3 world_pos = uMdl * vec4(mlocal * vec4(a_co,1.0),1.0);\n"
-" gl_Position = uPv * vec4( world_pos, 1.0 );\n"
+" vec3 local_pos = mlocal * vec4( a_co, 1.0 );\n"
+" vec3 world_pos = uMdl * vec4( local_pos, 1.0 );\n"
+"\n"
+" vec4 vproj0 = uPv * vec4( world_pos, 1.0 );\n"
+" vec4 vproj1 = uPvmPrev * vec4( local_pos, 1.0 );\n"
+"\n"
+" // Output\n"
+" vs_motion_out( vproj0, vproj1 );\n"
+"\n"
+" gl_Position = vproj0;\n"