Fix flip particle shader.

This commit is contained in:
Vincent Lejeune 2014-03-26 20:58:13 +01:00
parent 0f451c8f9d
commit f49dfbc51f

View File

@ -12,6 +12,7 @@ in float anglespeed;
out float lf; out float lf;
out vec2 tc; out vec2 tc;
out vec3 pc;
void main(void) void main(void)
{ {
@ -57,4 +58,5 @@ void main(void)
vec4 viewpos = ViewMatrix * vec4(newposition + newquadcorner, 1.0); vec4 viewpos = ViewMatrix * vec4(newposition + newquadcorner, 1.0);
gl_Position = ProjectionMatrix * viewpos; gl_Position = ProjectionMatrix * viewpos;
pc = vec3(1.);
} }