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
@@ -164,7 +164,7 @@ public class Image extends Visual {
dirty = false;
}
NoosaScript script = NoosaScript.get();
NoosaScript script = script();
texture.bind();
@@ -179,6 +179,10 @@ public class Image extends Visual {
}
protected NoosaScript script(){
return NoosaScript.get();
}
@Override
public void destroy() {
super.destroy();