Comment on page
Some of the UHFPS features utilize the URP Renderer Features, which enhance the visual quality of the rendered graphics in Unity.
These renderer features can be found in the folder named URP -> UHFPS Renderer. All of these renderer functions must be in the order you see in the image, because these effects affect each other. The Render Pass Event also needs to be set to After Rendering Transparents.
This renderer feature is utilized to capture a game screenshot when you save the game. It's important to call it After Rendering Transparents or Before Rendering Post Processing to ensure the resulting image provides a clear view of the game, free of any effects.
This renderer feature is used to blur the game view when you open the Inventory or Pause the game. It uses an image blurring technique that reduces the image size and blurs it. This technique is highly efficient. It's essential to call it After Rendering Transparents or Before Rendering Post Processing. This is because the transparent materials may not be blurred if it is utilized, for instance, After Rendering Opaques.
As the name suggests, this render feature is used to render the Focus layer transparents on top of everything else, even when the game view is blurred. It is important to call this render feature after the blur is applied, which would be After Rendering Transparents.
To make sure that the transparencies are rendered with the correct depth, it is necessary to have a new renderer feature with these settings. However, this feature must be called after the Focus, Focus Transparents and Focus Depth.
This render feature is quite similar to the previous one for rendering transparents. However, this feature is used to render opaques instead of transparents. Therefore, it is important to call this render feature after Render Focus Transparents On Top.
Similar to the Render Focus Transparents Depth feature, this feature needs to be called after the Render Focus and Focus Transparents.
As the name indicates, the UHFPS Screen Effects feature is used to manage the basic screen effects of the kit that are displayed in certain situations. The main function of these effects is to perform full-screen blit allowing custom material to be displayed on screen. The basic effects of the kit are Scanlines, Blood Disortion, Eye Blink, or Fear Tentacles.
You can write custom screen effects in a similar way to custom render features. However, instead of deriving from ScriptableRendererFeature, just derive from EffectFeature. This allows you to find and add new effects to the UHFPS Screen Effects feature.
The UHFPS Screen Effects doesn't serve a new functionality to the URP, it's just a holder that gives a better overview of the kit effects that can be performed. Instead of having multiple ScriptableObjects added to the URP asset, it holds screen effects as classes.