URP Specific

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.

Screenshot

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.

Dual Kawase Blur

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.

Render Focus Transparents On Top

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.

Render Focus On Top

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.

Render World UI

This render feature allows you to render the World UI and eliminates the problem where, when using the bloom effect, the elements on the world space canvas is somehow defined as a very shiny area, causing the elements to be unreadable.

UHFPS Screen Effects

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, Fear Tentacles or Raindrop.

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.

Last updated