add example & change texture method

add example & change texture method