[Customized translucent effect under the Unity Shader Graph URP rendering pipeline_translucent case sharing]

Custom translucent shading effects under the Unity Shader Graph URP rendering pipeline

Under the rendering pipeline of URP

  1. Find "Graphic" in the project settings
  2. Locate the URP Asset file
  3. Index to the Renderer List file - "ForwardRenderer"
    insert image description here
    insert image description here
  4. Find "Add Renderer Feature" in this "ForwardRenderer" file
    insert image description here
  5. Add a render object, similar to the following: Render Object (Experimental)

insert image description here

  1. As shown in the figure, set the "Event" toAfter Rendering Skybox, and then "Layer Mask" selects a custom layer. This name can be customized at will. I set "Transform" here. Add a transparent material that needs to be customized, and check "Depth" and "Write Depth".

Guess you like

Origin blog.csdn.net/xukaibo111/article/details/130020197