Added texture filtering and a few new utility methods