Source

kinect-viewer / main.fs

Full commit
/*
 * Copyright 2010 Cliff L. Biffle.  All Rights Reserved.
 * Use of this source code is governed by the Apache License 2.0,
 * which can be found in the LICENSE file.
 */

varying vec3 normal;

void main() {
  if (gl_Color.a == 0.) {
    discard;
  }
  gl_FragColor = light_vertex(normal);
}