fix type bug in shader, move shaders into separated files