The code used to generate these images is available here.
 
Some images created using a marble shader
 
An image of a sphere with a 2d texture slapped on it
 
Some triangles with the same texture on them