Skip to content

Instantly share code, notes, and snippets.

@zhangwc
Created November 27, 2013 10:34
Show Gist options
  • Save zhangwc/7673664 to your computer and use it in GitHub Desktop.
Save zhangwc/7673664 to your computer and use it in GitHub Desktop.
ThreeJS fog effect
scene = new THREE.Scene();
scene.fog = new THREE.FogExp2( 0xcccccc, 0.002 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment