From bc8ecc3bc309c8df117550a9a9cba593d0991303 Mon Sep 17 00:00:00 2001 From: Kirill Vainer Date: Thu, 25 Feb 2016 10:24:46 -0500 Subject: [PATCH] Update Particle.vert --- jme3-core/src/main/resources/Common/MatDefs/Misc/Particle.vert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jme3-core/src/main/resources/Common/MatDefs/Misc/Particle.vert b/jme3-core/src/main/resources/Common/MatDefs/Misc/Particle.vert index 878c8e6da..705936943 100644 --- a/jme3-core/src/main/resources/Common/MatDefs/Misc/Particle.vert +++ b/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;