add ShaderProgram into RenderEntity constructor