diff options
Diffstat (limited to 'bullet_vertex.glsl')
-rw-r--r-- | bullet_vertex.glsl | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/bullet_vertex.glsl b/bullet_vertex.glsl deleted file mode 100644 index 0843be2..0000000 --- a/bullet_vertex.glsl +++ /dev/null @@ -1,14 +0,0 @@ -varying mat4 v_tex_rot; - -void main() { - vec4 l_position = gl_Vertex; - vec2 l_direction = normalize(vec2(l_position.z, l_position.w)); - v_tex_rot = mat4(l_direction.x, l_direction.y, 0.0, 0.0, - -l_direction.y, l_direction.x, 0.0, 0.0, - 0.0, 0.0, 1.0, 0.0, - 0.0, 0.0, 0.0, 1.0); - l_position.z = 0.0; - l_position.w = 1.0; - gl_FrontColor = gl_Color; - gl_Position = gl_ModelViewProjectionMatrix * l_position; -} |