glActiveTexture ; glBindTexture (operates on active texture unit) ... a uniform in each shader to the 'i' value specified in GL_TEXTUREi of glActiveTexture.
確定! 回上一頁