added ambient and diffuse properties of materials to the lighting, didn't implement specular properties because it took too much performance