“pass” 在计算机图形渲染中是什么意思?

huangapple go评论75阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2023年6月6日 03:41:29
  • 转载请务必保留本文链接:https://go.coder-hub.com/76409547.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定