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;
-
-
outside of the polygon (hence antialiasing). On the interior of the polygon, that number is equal to the sample count, since all of the samples are taken within the polygon boundary. (2/2)
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.