The first incarnation of these were pixel shaders, also known as fragment shaders, where the name still made sense.
第一个化身是像素着色器,也被称为片段着色器,这个名字仍然有意义。
The programmable GPU permits developers to write vertex shaders and fragment shaders running on it, to replace the fixed function pipeline, and to employ custom rendering algorithms.
可编程图形处理器允许用户编写运行在其上的顶点着色程序与片断着色程序,取代内置的固定功能渲染流水线,实现定制的渲染算法。
Fragment shaders are optional.
片段着色器是可选的。
Fragment shaders are not able to set the stencil data for a fragment, but they do have control over the color and depth values.
片段着色器不能设置片段的模板值,但是确实能够控制片段的颜色值和深度值。
Fragment shaders are not able to set the stencil data for a fragment, but they do have control over the color and depth values.
片段着色器不能设置片段的模板值,但是确实能够控制片段的颜色值和深度值。
应用推荐