Skip to content
Snippets Groups Projects
Commit 94c9c4ee authored by Bastien Montagne's avatar Bastien Montagne
Browse files

Fix T45766: Exported OBJ/MTL files do not include emissive lighting parameters.

ke/map_ke are not official .mtl specs, but seem to be rather common extension.
map_ke was added three years ago to exporter only, this commit finishes the work
by adding ke/map_ke to importer, and ke to exporter.

NOTES:
* mtl ke is a color, while in Blender emit is only a factor, using diffuse color.
  this implies there is some loss of data during import here.
* I do not have the slightest idea about the range for ke values, so for now assuming
  a direct matching of Blender's emit value.
parent 4c142e59
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment