commit 99730f26e6bfabd466ec83984e3931f5882c126e
Author: Leszek Koltunski <leszek@koltunski.pl>
Date:   Tue Jul 31 14:43:01 2018 +0100

    Correct the way we display Normals (didn't work in case rendering was of OIT type)

diff --git a/src/main/java/org/distorted/library/main/DistortedEffects.java b/src/main/java/org/distorted/library/main/DistortedEffects.java
index c220fbf..06969d9 100644
--- a/src/main/java/org/distorted/library/main/DistortedEffects.java
+++ b/src/main/java/org/distorted/library/main/DistortedEffects.java
@@ -479,7 +479,14 @@ public class DistortedEffects
 
     GLES31.glDrawArrays(GLES31.GL_TRIANGLE_STRIP, 0, mesh.numVertices);
 
-    if( mesh.mShowNormals ) displayNormals(mesh);
+    if( mesh.mShowNormals )
+      {
+      mMainProgram.useProgram();
+      mM.send(surface,halfW,halfH,halfZ,0,0);
+      mV.send(0);
+      mF.send(0);
+      displayNormals(mesh);
+      }
     }
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
