refactor texture size to FilterInput