Add range function Implement gl transparency