added texture rendering