void main() { /* Manual back-face culling. Not ideal for performance * but needed for view clarity in X-ray mode and support * for inverted bone matrices. */ if ((inverted == 1) == gl_FrontFacing) { discard; } fragColor = vec4(finalColor.rgb, alpha); lineOutput = vec4(0.0); }