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)

Package: Scriptable Render Pipeline HD

-

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

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.