当渲染到纹理时,片段程序必须能够输出需要的数值。
When rendering into the depth texture, fragment program must output the value needed.
如何把纹理渲染到图像中?
当一个纹理渲染以大于原先的尺寸渲染到屏幕上去,我们说它被放大了。
When a texture is rendered to the screen at a larger size than it was created we say is has been magnified.
最终渲染阶段产生最后渲染后的图像,到这一步,所有的对象都将被再次渲染,其中着色器将混合前一步生成的光源和纹理以及所有自发光照明。
Final pass produces final rendered image. Here all objects are rendered again; with shaders that fetch the lighting, combine it with textures and add any emissive lighting.
当渲染到深度纹理时,在片段程序中使用它。
Use it in a fragment program when rendering into a depth texture.
当渲染到深度纹理时,在片段程序中使用它。
Use it in a fragment program when rendering into a depth texture.
应用推荐