Beware of SV_Coverage
There’s a lack of information on SV_Coverage (gl_SampleMaskIn & gl_SampleMask in GL lingo defined in ARB_sample_shading). And I got hit by it over and over again. I guess part of the reason must be that MSAA was often considered a magic black box, and most of the uses of SV_Coverage are advanced topics. […]