3
11

io_scene_3ds: Added material shading method #6

Closed
Sebastian Sille wants to merge 3 commits from blender-v3.3-release into blender-v3.5-release

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit 0d6107013d - Show all commits

View File

@ -709,7 +709,6 @@ def process_next_chunk(context, file, previous_chunk, imported_objects, IMAGE_SE
contextWrapper.normalmap_strength = float(struct.unpack('f', temp_data)[0]) contextWrapper.normalmap_strength = float(struct.unpack('f', temp_data)[0])
new_chunk.bytes_read += temp_chunk.bytes_read new_chunk.bytes_read += temp_chunk.bytes_read
elif new_chunk.ID == MAT_SHIN_MAP: elif new_chunk.ID == MAT_SHIN_MAP:
read_texture(new_chunk, temp_chunk, "Shininess", "ROUGHNESS") read_texture(new_chunk, temp_chunk, "Shininess", "ROUGHNESS")