Applying texture in shaders