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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution 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.