For these you don't use any of the commands described here, instead you define your own vertex and fragment programs where you do all lighting, texturing and anything else yourself.
这篇文章中描述的任何命令都不会用来操作逐像素光照,你可以通过自己定义的顶点和片段编程来实现这个效果。
You cannot take vertex number 10 from the mesh and expect that texture vertex 10 will store the information about its texturing or color vertex 10 would define its vertex color.
不要想从网格中选10号点然后指望着材质点10号能记录它的材质,或巴望着10号颜色点能准确记录它的颜色。
You cannot take vertex number 10 from the mesh and expect that texture vertex 10 will store the information about its texturing or color vertex 10 would define its vertex color.
不要想从网格中选10号点然后指望着材质点10号能记录它的材质,或巴望着10号颜色点能准确记录它的颜色。
应用推荐