Quick & Dirty trick to render a debug wireframe for your poly meshes, assuming you are rendering with 8X MSAA (which you are, aren't you, AREN'T YOU!!): In your fragment shader, at the end of the fragment shader, add color = (bitCount(gl_SampleMaskIn[0])<8) ? vec3(0.0) : color;
-
-
Notably, the `<8` for 8x MSAA can be replaced with gl_NumSamples to accomodate other MSAA sample numbers.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
