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
- VFX Graph Memory leak when calling the ClearPropertyBinders and AddRemoveVFXProperty
- Entering "Configure Avatar" inside the Inspector locks it
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
- Scene View with Debug Draw Mode enabled is gray when GPU Resident Drawer is enabled
- The UI is not visible when resizing out of focus built Player window with Application.runInBackground set to false
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.