Shader refactoring. Fix blending issue with transparency.