added textures and some tweakable parameters
reverted back to old rendering pipeline