Enable accurate G-buffer normals in the Deferred rendering path in URP
Forward+ rendering path in URP

Deferred rendering path code files reference for URP

This section contains the list of files that contain the code related to the Deferred Rendering PathThe technique that a render pipeline uses to render graphics. Choosing a different rendering path affects how lighting and shading are calculated. Some rendering paths are more suited to different platforms and hardware than others. More info
See in Glossary
.

  • The main class that handles the Deferred Rendering Path:

    com.unity.render-pipelines.universal\Runtime\DeferredLights.cs
    
  • ScriptableRenderPass for the G-Buffer pass:

    com.unity.render-pipelines.universal\Runtime\Passes\GBufferPass.cs
    
  • ScriptableRenderPass for the deferred shadingA rendering path in the Built-in Render Pipeline that places no limit on the number of Lights that can affect a GameObject. All Lights are evaluated per-pixel, which means that they all interact correctly with normal maps and so on. Additionally, all Lights can have cookies and shadows. More info
    See in Glossary
    pass:

    com.unity.render-pipelines.universal\Runtime\Passes\DeferredPass.cs
    
  • ShaderA program that runs on the GPU. More info
    See in Glossary
    asset for the deferred shading:

    com.unity.render-pipelines.universal\Shaders\Utils\StencilDeferred.shader
    
  • Utility functions for the deferred shading:

    com.unity.render-pipelines.universal\Shaders\Utils\Deferred.hlsl
    
  • Utility functions for storing and loading the Material properties from the G-buffer:

    com.unity.render-pipelines.universal\Shaders\Utils\UnityGBuffer.hlsl
    

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答
Enable accurate G-buffer normals in the Deferred rendering path in URP
Forward+ rendering path in URP
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961