Add skydome.

Implement skydome feature. Fix bug where EffectRegistry is not cleared
after use.