io_scene_3ds: Moved specular color texture to specular tint #104918
@ -560,7 +560,7 @@ def make_texture_chunk(chunk_id, teximages, pct):
|
|||||||
def add_image(img, extension):
|
def add_image(img, extension):
|
||||||
filename = bpy.path.basename(img.filepath)
|
filename = bpy.path.basename(img.filepath)
|
||||||
mat_sub_file = _3ds_chunk(MAT_MAP_FILE)
|
mat_sub_file = _3ds_chunk(MAT_MAP_FILE)
|
||||||
mat_sub_tiling = _3ds_chunk(MAP_TILING)
|
mat_sub_tiling = _3ds_chunk(MAT_MAP_TILING)
|
||||||
mat_sub_file.add_variable("image", _3ds_string(sane_name(filename)))
|
mat_sub_file.add_variable("image", _3ds_string(sane_name(filename)))
|
||||||
mat_sub.add_subchunk(mat_sub_file)
|
mat_sub.add_subchunk(mat_sub_file)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user