added options for ghost offsets and opacities