否则,改变您的顶点程序( vertex programs )的指令 数量 注意:不要增加那些很容易被优化掉的指令 如果帧率改变了,应用程序就是顶点转换限制(vertex transform limited)的
基于6个网页-相关网页
It's implemented by vertex programs and fragment programs in Cg language.
整个过程使用Cg语言编写顶点程序和片段程序来实现。
Using vertex and fragment programs, it is possible to replace the traditional vertex projection and lighting equation used by real-time computer graphics hardware.
使用顶点和片元程序能够取代计算机图形硬件上使用的传统的顶点投影和光照公式。
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.
这篇文章中描述的任何命令都不会用来操作逐像素光照,你可以通过自己定义的顶点和片段编程来实现这个效果。
应用推荐