v0.4.2: Implemented no-lighting shader

Gives a very big performance boost on older devices
This commit is contained in:
Evan Debenham
2016-09-05 01:32:19 -04:00
parent 182b24d9ae
commit 6ed1ec2214
8 changed files with 120 additions and 13 deletions

View File

@@ -216,6 +216,7 @@ public class Game extends Activity implements GLSurfaceView.Renderer, View.OnTou
step();
NoosaScript.get().resetCamera();
NoosaScriptNoLighting.get().resetCamera();
GLES20.glScissor( 0, 0, width, height );
GLES20.glClear( GLES20.GL_COLOR_BUFFER_BIT );
draw();