Written simple shader to apply textures to blocks.
Little code cleaning.