Search Issue Tracker
By Design
Votes
0
Found in
2022.3.11f1
2023.1.16f1
2023.2.0b13
2023.3.0a9
Issue ID
UUM-53136
Regression
No
RTHandle does not scale down when scaled up
How to reproduce:
1. Open the attached project "Custom Post Processing.zip"
2. In the Game view window change the Display resolution to "Full HD"
Expected results: Fog aligns objects in the Game view
Actual results: Fog is misaligned with the objects
Reproducible with: 2022.3.11f1, 2023.1.16f1, 2023.2.0b13, 2023.3.0a9
Could not test with: 2021.3.31f1 (the Scene is rendered pink)
Reproducible on: Windows 11 22H2
Not reproducible on: No other environment tested
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
Resolution Note:
The issue the user is seeing is because they are not using the right APIs to achieve what they want with Custom Post Processes.
- HDUtils.DrawFullScreen should be used instead of CommandBuffer.Blit to make sure the destination viewport is the right one.
- In the Shader Graph, the input color should be retrieved from the "HD Sample Buffer" node using the Post Process source (this will scale the UVs according to the current RTHandle scale).
By doing this, all scaling issues should be fixed in this use case.
More info in the Documentation: https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@17.0/manual/Custom-Post-Process.html