texture, space switches between two modes, shader implements fog