move render code to sprite
test texture