Deatheffect color now correctly calculated

This commit is contained in:
Tleety
2016-02-02 10:58:00 +01:00
parent 8299b99e2f
commit 9c2e459e0c
5 changed files with 38 additions and 21 deletions
+2
View File
@@ -20,6 +20,7 @@ out VertexData{
vec3 BiTangent;
vec2 TextureCoordinate;
vec4 ExplosionColor;
float ExplosionPercentageElapsed;
}Output;
void main()
@@ -42,4 +43,5 @@ void main()
Output.Tangent = vec3(M * vec4(Tangent, 0.0));
Output.BiTangent = vec3(M * vec4(BiTangent, 0.0));
Output.ExplosionColor = vec4(1.0);
Output.ExplosionPercentageElapsed = 0.0;
}