Fix geometry clone to set bounding sphere if result parameter is undefined.
Update appearance shaders.