Browse Source

Update Particle.vert

Kirill Vainer 9 years ago
parent
commit
bc8ecc3bc3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jme3-core/src/main/resources/Common/MatDefs/Misc/Particle.vert

+ 1 - 1
jme3-core/src/main/resources/Common/MatDefs/Misc/Particle.vert

@@ -32,7 +32,7 @@ void main(){
     #ifdef POINT_SPRITE
         vec4 worldPos = g_WorldMatrix * pos;
         float d = distance(g_CameraPosition.xyz, worldPos.xyz);
-        float size = (inSize * SIZE_MULTIPLIER * m_Quadratic) / d);
+        float size = (inSize * SIZE_MULTIPLIER * m_Quadratic) / d;
         gl_PointSize = max(1.0, size);
 
         //vec4 worldViewPos = g_WorldViewMatrix * pos;