#declare img = "sky/room_4k.hdr"
#declare img = "sky/room_4k.jpg"

#macro bg_sphere (sc, pos, rot) 
object {
    sphere  
        { 0 1 
        hollow
        pigment{
            image_map{ 
                //hdr img
                jpeg img          
                map_type 1 
                interpolate 4 
                }
      }        
      finish { 
        ambient  1.0 
        diffuse  1 
        emission 1
        }
      scale sc  
      translate pos
      rotate <0, rot, 0>  
      } 
}  
#end




