|
|
我可以单独使用"pixel shaders_像素脚本(PS)"或者"vertex shaders_顶点脚本(VS)"么?
当然可以,不过它们是设计来同时让你使用的。如果你不使用其中的某个部分,固定渲染管线将代替它们的功能。另外,你可以使用高级语言或汇编代码进行脚本编程。
/*******************************/
Can I use pixel shaders without vertex shaders, and vice versa?
Most definitely. It's entirely up to you. If you don't use a shader, the fixed-function processing will be used instead for that part for the pipeline. In addition, you can express your shaders either in a higher-level language or with assembly code.
|
|