before texture
add texture but have bugs
to fix bug
clip error