Made texture rendering sort of work.