Keli-Li
(Keli Li)
October 30, 2023, 11:20pm
1
Hi,
I saw in taskController.cpp, there’s a variable to define MSAA sample count at https://github.com/PixarAnimationStudios/OpenUSD/blob/release/pxr/imaging/hdx/taskController.cpp#L94 , but anyone know is there a way to disable MSAA completely for Storm Renderer?
Thanks,
Keli
Keli-Li
(Keli Li)
November 2, 2023, 1:52pm
2
I meant will change MSAA_SAMPLE_COUNT to 0 disable MSAA completely?
// XXX: WBN to expose this to the application.
static const uint32_t MSAA_SAMPLE_COUNT = 4;
tomc
(Tom C (Pixar))
November 18, 2023, 12:14am
3
Hi Keli,
The render buffer has a “multisampled” flag; if this is disabled, Storm won’t use MSAA. You can set this here, for example: https://github.com/PixarAnimationStudios/OpenUSD/blob/0b18ad3f840c24eb25e16b795a5b0821cf05126e/pxr/imaging/hdx/taskController.cpp#L1289 by setting multiSampled = false in the AOV descriptor.
Hope that helps!
Tom
Keli-Li
(Keli Li)
November 23, 2023, 4:24pm
4
Hi Tom,
Thanks, it works! BTW, for the sample count, any plan to expose it to application?
Keli