Added support for the upcoming script reward "changeColorFilter"

This commit is contained in:
Zukero
2017-01-25 19:11:45 +01:00
parent 291808a564
commit 8333fe3621
4 changed files with 36 additions and 1 deletions

View File

@@ -92,6 +92,15 @@ public class MapColorFilters {
0.00f, 0.00f, 0.00f, 1.0f, 0.0f
});
break;
case none:
f=1f;
newComp = new MatrixComposite(new float[]{
f, 0.00f, 0.00f, 0.0f, 0.0f,
0.00f, f, 0.00f, 0.0f, 0.0f,
0.00f, 0.00f, f, 0.0f, 0.0f,
0.00f, 0.00f, 0.00f, 1.0f, 0.0f
});
break;
default:
break;