Skip to content

Instantly share code, notes, and snippets.

@vincentdesmares
Created May 12, 2017 01:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vincentdesmares/016e3c312390529186571744696a1075 to your computer and use it in GitHub Desktop.
Save vincentdesmares/016e3c312390529186571744696a1075 to your computer and use it in GitHub Desktop.
gl.clearColor(27.0/255,27.0/255,27.0/255, 1.0); // Clear to the Inovia black
gl.clearDepth(1.0); // Clear the depth buffer. More on that later.
gl.enable(gl.DEPTH_TEST); // Enable depth testing (objects in the front hide the others)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment