In both Universal RP and HDRP you can easily create custom shaders that support real-time reflections by using the included ShaderGraph sub-graphs that handle reflection UVs (for simple reflections) and full PBR based workflows. These graphs can be edited and extended as you see fit in order to adapt to your project’s purposes.
ReflectionUVs node
This node automatically generates a Vector2 type output containing ready to use UVs to use on either the Reflection color or Reflection depth textures.
PBR Like Reflections node
The PBR-Like reflection node generates a PBR based reflection that takes into account the smoothness of the material, its normals and a simple fresnel effect.
It takes as inputs the Reflection Tex and Reflection Depth textures, a value to define how much the smoothness of the material will affect the sharpness and intensity of the reflection, the smoothness of the material as a float value, a color for the reflection’s final tint, a value controlling how much the normals of the material will distort the reflection and a vector3 containing the normal data of the material (the same value that will be sent to the Normal output of the shader), and finally a value specifying the intensity of the fresnel effect.
This sub-graph has all the necessary operations inside to unwrap, process, blur and output both the reflection color and depth in a ready to use way that will greatly simplify the process of integrating PIDI Planar Reflections 4.x in your own ShaderGraph based shaders, regardless of if they are designed for Universal RP or HDRP.