Use it in a fragment program when rendering into a depth texture.
当渲染到深度纹理时,在片段程序中使用它。
When rendering into the depth texture, fragment program must output the value needed.
当渲染到纹理时,片段程序必须能够输出需要的数值。
Depth texture corresponds to Z buffer contents that are rendered, it does not use the result from the fragment program.
深度纹理对应于Z缓冲区所渲染的内容,它并不使用片段程序所输出的结果。
Depth texture corresponds to Z buffer contents that are rendered, it does not use the result from the fragment program.
深度纹理对应于Z缓冲区所渲染的内容,它并不使用片段程序所输出的结果。
应用推荐