linear filtering for sky and fix for transparency issue #194