Skip to content

Instantly share code, notes, and snippets.

@fscz
Created June 25, 2013 16:37
Show Gist options
  • Save fscz/5860022 to your computer and use it in GitHub Desktop.
Save fscz/5860022 to your computer and use it in GitHub Desktop.
documentation for blender light export
lights export from blender:
- blender sunlamp <-> threejs ambientlight
color <-> color (light intensity via color brightness)
- blender pointlamp <-> threejs pointlight
location <-> position
distance <-> distance
color <-> color
energy <-> intensity
- blender spotlamp <-> threejs spotlight
location <-> position
distance <-> distance
rotation <-> target (location, distance and rotation are used, to compute the target)
color <-> color
energy <-> intensity
- blender hemilamp <-> threejs hemispherelight
location <-> position
distance <-> distance
rotation <-> target (location, distance and rotation are used, to compute the target)
color <-> color
energy <-> intensity
- blender arealamp <-> threejs arealight
location <-> position
size <-> width
size_y <-> height
color <-> color
energy <-> intensity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment