Refactored texturing; shadow map supersampling