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?
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;
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!
Thanks, it works! BTW, for the sample count, any plan to expose it to application?