Autodesk / Autodesk/arnold-usd
Use `HdRenderPassAovBinding::clearValue` when clearing the render buffer
Open
enhancement
render delegate
- Dominant language
- Python
- Stars
- 284
- Forks
- 68
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 14
Description
**Describe the feature you'd like**
Use `HdRenderPassAovBinding::clearValue` to set the default value in the render buffer.
While this is not a strict requirement when the format of the `HdRenderBuffer` and the Arnold AOV matches in component counts, when there is a discrepancy (like rendering to a float4 buffer from an RGB AOV) the lack of the proper default value can cause issues, like the alpha channel being zero.
Contributor guide
Assessment
This issue has not been assessed yet.