Fix flip particle shader.
This commit is contained in:
parent
0f451c8f9d
commit
f49dfbc51f
@ -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.);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user