First draft of normal mapping. Not sure if it is fully working