To define texture images, call glTexImage2D. ... number of color components provided. there is a good example of this process in the opengl redbook example.
確定! 回上一頁