What I did: Changed the angle of view from 160 degrees to 60 degrees (it's the recommended viewing angle, see here: http://www.permadi.com/tutorial/raycast/rayc4.html ) I also changed the way it draws it and shades it.