Skip to content

Instantly share code, notes, and snippets.

@nklsrh
Created July 10, 2013 02:49
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 nklsrh/5963097 to your computer and use it in GitHub Desktop.
Save nklsrh/5963097 to your computer and use it in GitHub Desktop.
// we can easily notice shadows if we dynamically move lights during the game
spotLight.position.x = ball.position.x;
spotLight.position.y = ball.position.y;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment