minor adjustments to Cull()
shadowmap

copied from www.paulsprojects.net
requires file extensions