I was working on this for a long time Finally i fixed it up and here it is! Space or click to switch between image and blockshade