add motion vectors to all shaders
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / standard_skinned.vs
index 5c959a080752c0a35349b22483d33c75385d6c4b..089379529e661dbffb61ce2a068aa486c68c6a9a 100644 (file)
@@ -1,6 +1,10 @@
 #include "vertex_standard.glsl"
+#include "motion_vectors_vs.glsl"
 
 uniform mat4 uPv;
+
+// TODO: Send a previous transform matrix stack
+//
 uniform mat4x3 uTransforms[32];
 
 out vec4 aColour;
@@ -28,4 +32,8 @@ void main()
    aNorm = world_normal;
    aCo = a_co;
    aWorldCo = world_pos;
+
+   // TODO:
+   aMotionVec0 = vec3(1.0);
+   aMotionVec1 = vec3(1.0);
 }