What's new in version 10
This page contains an overview of new features, improvements, and issues resolved in version 10 of the High Definition Render Pipeline (HDRP).
Features
The following is a list of features Unity added to version 10.0 of the High Definition Render Pipeline. Each entry includes a summary of the feature and a link to any relevant documentation.
Added support for the PlayStation 5 platform.
This version of HDRP includes support for the Playstation 5 platform. For more information, see building for consoles.
Added support for the Game Core Xbox Series platform and Game Core Xbox One
This version of HDRP includes support for the Game Core Xbox Series platform as well as support for Game Core for Xbox One. For more information, see building for consoles.
IES Profiles and light cookies
HDRP now supports the Illuminating Engineering Society's (IES) file format for describing the distribution of light from a light source. HDRP supports the IES profile for Point, Spot (Cone, Pyramid, and Box), and rectangular Area Lights. You can also mix the IES profile with cookies and even use the profile and cookie mix for light map baking.
Exposure
Histogram exposure
HDRP's exposure implementation can now compute a histogram of the image which allows you to select high and low percentile values to discard. Discarding outlying values in the shadows or highlights helps to calculate a more stable exposure.
For more information on this feature, see Exposure.
New metering mode
It is often best to not consider the whole screen as input for the auto-exposure algorithm so HDRP's exposure implementation now includes a metering mask. This includes a texture-based mask and a procedural mode.
For more information about this feature, see Exposure.
Debug modes
HDRP now includes new debug modes that can help you to set the correct exposure for your Scene.
For more information about the debug modes, see Exposure and Render Pipeline Debug.
Scalability settings
This version of HDRP includes scalability settings for fog and subsurface scattering. These settings allow for more control over the performance and quality of volumetric lighting.
Screen-space global illumination
This version of HDRP introduces screen-space global illumination (SSGI). It is an algorithm that accesses indirect diffuse lighting the environment generates. It works in the same way as the Screen Space Reflection in that it uses ray marching to calculate the result.
For more information, see Screen Space Global Illumination.
Custom Pass AOV Export
This feature allows you to export arbitrary data from custom pass injection points using an extension of the Arbitrary Output Variables (AOV) API in HDRP. An example use-case is for exporting “Object IDs” that are rendered with a custom pass. For information about the feature and example scripts, see the AOV documentation.
Debug modes
Light debug view
To help you to debug lighting in your Scene, HDRP now includes various lighting debug view modes that allow you to separate the various components of the light into multiple parts. These debug modes are also available in the AOV API to allow recorders to export them. The new lighting debug modes are:
- Diffuse
- Specular
- Direct diffuse
- Direct specular
- Indirect diffuse
- Reflection
- Refraction
Light Layer debug mode
HDRP now includes a new light layer debug mode which can display the light layers assigned to each GameObject or can highlight GameObjects which match the light layers of a specific Light.
For more information, see the Lighting panel section in the HDRP debug window.
Volume debug mode
The Render Pipeline Debug window now has a new Volume panel which you can use to visualize the Volume components that affect a specific Camera. For each Volume that contributes to the final interpolated value, this panel shows the value of each property and whether or not it is overridden. It also calculates the Volume's influence percentage using the Volume's weight and blend distance. For more information, see the Volume panel section in the HDRP debug window.
Quad Overdraw and Vertex Density
To help you finding GameObjects in you scene that need LODs, HDRP includes two new full screen rendering debug modes to spot Meshes far away or with too many details.
- Quad Overdraw: highlights GPU quads running multiple fragment shaders, which is mainly caused by small or thin triangles. (Not supported on Metal and PS4)
- Vertex Density: displays pixels running multiple vertex shaders. (Not supported on Metal)
Alpha to Mask
This version of HDRP adds support for alpha to mask (or alpha to coverage) to all HDRP and Shader Graph shaders.
For more information, see the Alpha to Mask property in Alpha Clipping.
Range attenuation for box-shaped spotlights
This version of HDRP adds a range attenuation checkbox to box-shaped spotlights, which makes the Light shine uniformly across its range.
For more information, see the Light component documentation.
Parallax occlusion mapping for emissive maps
This version of HDRP adds support for emissive maps with parallax occlusion mapping.
Screen-space reflection on transparent Materials
HDRP's screen-space reflection (SSR) solution now support transparent materials. This is useful for transparent surfaces such as windows or water.
Fabric, Hair, and Eye material examples
HDRP now includes a new sample that contains example fabric and hair materials. You can use these materials as references to more quickly develop fabric and hair materials for your application. HDRP now also includes an eye Shader Graph which you can use to create a realistic eye Material. There are also new HDRP-specific Shader Graph nodes which allow you to more easier customize this eye Shader Graph.
Decal improvment - Decal Bias, Decal Layers, and Decal angle fading
This version of HDRP introduces Decal Layers which allow you to specify which decals affect which Materials on a layer by layer basis. For more information about Decal Layers, see the Decal documentation. This version also introduce the support of angle based fading for Decal when Decal Layers are enabled. Lastly this version introduces a new world-space bias (in meters) option that HDRP applies to the decal’s Mesh to stop it from overlapping with other Meshes along the view vector.
Input System package support
This version of HDRP introduces support for the Input System package. Before this version, if you enabled the Input System package and disabled the built-in input system, the debug menu and camera control scripts HDRP provides would no longer work. Now, both the debug menu and camera control scripts work when you exclusively enable the Input System package.
HDRI Flowmap
The HDRI Sky override now contains a new property to allow you to apply a flowmap to the sky cubemap.
For more information, see the HDRI Sky documentation.
Graphics Compositor
The Graphics Compositor allows real-time compositing operations between layers of 3D content, static images, and videos.
The tool support three types of compositing techniques:
- Graph-based compositions, guided from a Shader Graph.
- Camera stacking compositions, where multiple cameras render to the same render target, the result of which can then be used in graph-based composition.
- 3D composition, where you insert composition layers into a 3D Scene to allow for effects like reflections/refractions between composited layers on 3D GameObject.
Overall, this tool allows you to compose a final frame by mixing images and videos with 3D content in real-time inside Unity, without the need of an external compositing tool.
For information about the feature, see the HDRP Compositor documentation.
Path tracing
Path-traced depth of field
This version of HDRP includes a new depth of field mode for producing path-traced images with high-quality defocus blur. Compared to post-processed depth of field, this mode works correctly with multiple layers of transparency and does not produce any artifacts, apart from noise typical in path traced images (which you can mitigate by increasing the sample count and/or using an external denoising tool).
For more information about this feature, see Depth-of-field.
Accumulation motion blur and path tracer convergence APIs
HDRP now includes a recording API which you can use to render effects such as high-quality accumulation motion blur and converged path-traced images. These techniques create the final "converged" frame by combining information from multiple intermediate sub-frames. The new API allows your scripts to extract the properly converged final frames and do further processing or save them to disk.
For information about this feature and for some example scripts, see Multiframe rendering and accumulation documentation.
Path-traced sub-surface scattering
Path tracing now supports subsurface scattering (SSS), using a random walk approach. To use it, enable path tracing and set up SSS in the same way as you would for HDRP materials.
For information on SSS in HDRP, see subsurface scattering.
Path-traced fog
Path tracing now supports fog absorption. Like SSS, to use this feature, enable path tracing and set up fog in the same way as you would for standard fog in HDRP.
For information on fog in HDRP, see fog.
Support for shader graph in path tracing
Path tracing now supports Lit and Unlit Shader Graph nodes.
Note that the graph should not contain nodes that rely on screen-space differentials (ddx, ddy). Nodes that compute the differences between the current pixel and a neighboring one do not compute correctly when you use ray tracing.
Improvements
The following is a list of improvements Unity made to the High Definition Render Pipeline in version 10. Each entry includes a summary of the improvement and, if relevant, a link to any documentation.
Scene view Camera properties
The HDRP-specific Scene view Camera properties, such as anti-aliasing mode and stop NaNs, are no longer in the preferences window and are instead in the Scene view camera settings menu.
For information on HDRP's Scene view Camera properties, see Scene view Camera.
Shadow caching system
This version of HDRP improves on shadow atlas and shadow caching management. You can now stagger cascade shadows which means you can update each cascade independently. Cached shadows (those that use OnEnable) render everything they can see independently of the main view. This version also introduces more API which you can use to more finely control cached shadows. For more information, see Shadows.
Volumetric fog control modes
Version 10.2 of HDRP introduces the concept of volumetric fog control modes to help you set up volumetric fog in a Scene. The control modes are:
- Balance: Uses a performance-oriented approach to define the quality of the volumetric fog.
- Manual: Gives you access to the internal set of properties which directly control the effect. This mode is equivalent to the behavior before this update.
Custom post-processing: new injection point
This version of HDRP introduces a new injection point for custom post-processing effects. You can now inject custom post-processing effects before the temporal anti-aliasing pass.
Compute shaders now use multi-compile
HDRP, being a high-end modern renderer, contains a lot of compute shader passes. Up until now, to define variations of some compute shaders, HDRP had to manually declare new kernels for each variation. From this version, every compute shader in HDRP uses Unity's multi-compile API which makes maintenance easier, but more importantly allows HDRP to strip shaders that you do not need to improve compilation times.
Screen Space Reflection
HDRP improves the Screen Space Reflection by providing a new implementation 'PBR Accumulation'
Planar reflection probe filtering
Planar reflection probe filtering is a process that combines the result of planar reflection and surfaces smoothness. Up until this version, the implementation for planar reflection probe filtering did not always produce results of fantastic quality. This version of HDRP includes a new implementation that is closer to being physically-based and improves on the image quality significantly.
Fake distance based roughness for reflection probe
Reflection Probe can now fake the increasing preceive bluriness of a surface reflection with distance from the object. This option is disabled by default and need to be enabled on the Reflection Probe.
Screen space reflection
Screen Space Reflection effect always use the color pyramid generate after the Before Refraction transparent pass. Thus the color buffer only includes transparent GameObjects that use the BeforeRefraction Rendering Pass.
Distortion
The distortion effect now supports a rough distortion which is disabled by default. Disabling Rough Distortion saves resources as the effect does not generate a color pyramid and instead uses a copy of the screen.
Platform stability
In the past, HDRP experienced stability issues for DirectX12, Vulkan, Metal, Linux. This version includes improvements to stability on these platforms.
Lightloop optimization
In terms of performance, one of the most resource intensive operations for HDRP is processing lights before it sends them to the GPU. For many high-end projects that include a lot of lights in their Scene, this is particularly problematic. This version of HDRP introduces an optimization that reduces the resource intensity of the light loop by up to 80% which drastically improves CPU performance in the vast majority of cases.
Decal improvement
HDRP no longer forces a full depth pre-pass when you enable decals in Deferred Lit Mode. Only materials with the Receive Decals property enabled render in the pre-pass. Decal shader code has improved and now produces fewer shader variants and includes better UI to control which material attributes the decal affects. Finally, the Decal Master Stack now exposes affects flags control on the Material.
Constant buffer setup optimization
In terms of performance, preparing and sending the shader data to the GPU is a resource intensive operation. HDRP now uses a new C# constant buffer API which allows it to set up the various shader uniforms in a single call, instead of multiple ones.
Temporal anti-aliasing
HDRP's previous temporal anti-aliasing (TAA) solution suffered from typical TAA artifacts. The image would look blurry while moving and ghosting artifacts were often present. The new implementation improves significantly on both of these issues and also offers more customizability.
AxF mapping modes
You can now control the texture mapping mode for all textures in the AxF Shader. You can choose between planar, triplanar, or different uv sets.
For more information about this improvement, see AxF Shader.
Contact shadows improvements
More options are now available for contact shadows. You can now set a bias to avoid self-intersection issues as well as use a new thickness property to fill gaps that contact shadows can leave.
Light component user experience
The Light component now includes a visualization to help you set the intensity of your lights using physical light units.
Exposure
Exposure curve mapping
Before this version, to set the minimum and maximum limit for auto-exposure, you had to use fixed values and, because of this, the exposure values fluctuated too much. Now you can use curves for these limits which helps to produce a more stable exposure.
Custom mid-grey point
Auto-exposure systems calculate the average scene luminance and try to map this to an average grey value. There is no fixed standard for this grey value and it differs between camera manufacturers. To provide the maximum possible customization, HDRP now allows you to choose the grey value from a selection of the most common middle grey value in industry.
Custom Pass API
From this version, within the rendering of your main Camera, you can now render GameObjects from another point of view (a disabled camera for example). The new API also comes with built-in support for rendering Depth, Normal and Tangent into an RTHandle.
You can also use this Camera override to render some GameObjects with a different field of view, like arms in a first-person application.
Ray tracing
Fallback for transparents
Before this version, if transparent GameObjects were set up for recursive rendering and you did not use recursive rendering in your Scene, they would disappear. Also, if they were not refractive, they would appear opaque. Now, HDRP has a set off fallbacks so the visuals of transparent GameObjects are coherent with and without recursive rendering and refraction.
Shadow quality
The denoiser for ray-traced shadows now produces higher quality shadows.
Colored shadows
HDRP now supports colored ray-traced shadows for transparent and transmissive GameObjects.
For more information, see ray-traced shadows.
Ray-traced reflection on transparent Materials
HDRP's ray-traced reflection (RTR) solution now support transparent materials. This is useful for transparent surfaces such as windows or water.
Virtual Reality (VR)
Ray tracing now supports VR. However, since ray tracing is resource intensive and VR amplifies this, the performance is very slow.
Render Graph
HDRP now internally uses a Render Graph system. This has no impact on features available to you and it should improve overall memory usage significantly. In the new HDRP template, GPU memory usage decreased by 25%. More information see RenderGraph.
Metallic Remapping
HDRP now uses range remapping for the metallic value when using a mask map on Lit Materials as well as Decals.
Issues resolved
For information on issues resolved in version 10 of HDRP, see the changelog.