Improvements for global opacity