Search Issue Tracker
By Design
Votes
0
Found in [Package]
11.0.0
Issue ID
1304144
Regression
No
[HDRP][DXR] CaptureScreenshot with superSize > 1 capture an image with no accumulation (1 sample)
Repro steps :
- Open attached project
- Open SampleScene
- Press Play
- Click on the yellow sphere on the center
- Notice the console message and check the image in the Assets folder.
- Select the sphere in the hierarchy and increase the "size Multiplier" value from 1 to 2 in the "capture" component
- Click again on the sphere in the center
- Check that the image created in the assets folder is double the size.
- Now enable the pathtracer in the volume gameobject and redo the same process
Expected : Path tracer image should be doubled in resolution and accumulation should be done properly
Result : superSized image uses only one sample
Environment :
- Windows 10
- Unity 2021.1.0a10
- HDRP 11.0.0
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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Resolution Note:
When capturing an image with the supersize argument > 1, the camera is changed right before capture, then restored. Therefore, it is normal that the path tracer would reset the accumulation, as it does not and should not reuse previous information if any camera attribute has changed. A workaround, if a larger resolution is desired, would be to change the resolution itself and leave the supersize argument to 1.