rewrite the shader,tested the texture mapping