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
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
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.