updated texturemapping.  fixed z-buffering bugs.