updated the Material Generator.

TODO: Update the Java Engine so as to make it useable in the game.