The  rock  has a soft texture and can be bought in a variety of shapes.
( ( The rock ) ( ( ( ( has ( a ( soft texture ) ) ) and ) ( can ( be ( bought ( in ( ( a variety ) ( of shapes ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (DT The) (NN rock)) (VP (VP (VBZ has) (NP (DT a) (JJ soft) (NN texture))) (CC and) (VP (MD can) (VP (VB be) (VP (VBN bought) (PP (IN in) (NP (NP (DT a) (NN variety)) (PP (IN of) (NP (NNS shapes))))))))) (. .)))
The texture of the rock comes from the way that it is formed.
( ( ( The texture ) ( of ( the rock ) ) ) ( ( ( comes ( from ( the way ) ) ) ( that ( it ( is formed ) ) ) ) . ) )
(ROOT (S (NP (NP (DT The) (NN texture)) (PP (IN of) (NP (DT the) (NN rock)))) (VP (VBZ comes) (PP (IN from) (NP (DT the) (NN way))) (SBAR (IN that) (S (NP (PRP it)) (VP (VBZ is) (VP (VBN formed)))))) (. .)))