Skip to content

Instantly share code, notes, and snippets.

@tsbits
Last active August 14, 2021 12:28
Show Gist options
  • Save tsbits/ff8335d712484e00dcabe98f2bbea931 to your computer and use it in GitHub Desktop.
Save tsbits/ff8335d712484e00dcabe98f2bbea931 to your computer and use it in GitHub Desktop.
[ThreeJS] Don't clear the canvas
renderer = new THREE.WebGLRenderer({preserveDrawingBuffer: true});
renderer.autoClearColor = false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment