fragment shader
常见例句
- Inorder to program Cg vertex and fragment shaders, it is important to understandthe input and ouput of each shader.
为了对顶点和片段着色器进行编程,理解每个着色器的输入和输出是很重要的。 - The output from a fragment shader is a list of colors for each of the color buffers being written to, a depth value, and a stencil value.
片段着色器的输出结果是深度值、 模板值和即将写入颜色缓存的颜色值。 - Rendering without a fragment shader is useful when rendering only a primitive's default depth information to the depth buffer, such as when performing Occlusion Query tests.
当你只需要将图元的深度信息写入深度缓存时(例如在施展遮挡查询测试时),不使用片段着色器的渲染过程就很有用。 返回 fragment shader