英文:
What is "pass" in computer graphics rendering?
问题
我发现"pass"是渲染管线的单次执行。如果渲染管线的单次执行在特定光照透视下输出深度图,那么它被称为"shadow pass"还是"light pass",是否正确?
英文:
I found that "pass" is single execution of rendering pipeline.
Is this correct? If so, if single execution of rendering pipeline outputs depth map in specific light perspective, is it called "shadow pass" or "light pass"?
答案1
得分: 1
A (render) pass tells the graphics API how you intend to make use of the framebuffers associated with that render pass. In this way, the API can know which framebuffers are used, allowing optimizations if, for example, the contents of the depth buffer are not needed after the render pass. The shadow pass is the render pass that renders the scene from the light perspective into the shadow maps.
英文:
A (render) pass tells the graphics API how you intend to make use of the framebuffers associated to that render pass.
In this way the API can know which framebuffers are used allowing optimizations if, for example, the contents of the depth buffer are not needed after the render pass.
The shadow pass is the render pass that renders the scene from the light perspective into the shadow maps.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论