io_scene_3ds: Update for Principled BSDF specularity #104917

Merged
Sebastian Sille merged 87 commits from :main into main 2023-09-26 19:41:09 +02:00
Showing only changes of commit 16796a2710 - Show all commits

View File

@ -862,6 +862,7 @@ def process_next_chunk(context, file, previous_chunk, imported_objects, CONSTRAI
mxvolume.label = "Volume" mxvolume.label = "Volume"
layerfog.location = (10, -60) layerfog.location = (10, -60)
mxvolume.location = (300, 50) mxvolume.location = (300, 50)
nodes['World Output'].location = (600, 200)
links.new(layerfog.outputs['Volume'], mxvolume.inputs[2]) links.new(layerfog.outputs['Volume'], mxvolume.inputs[2])
links.new(mxvolume.outputs[0], nodes['World Output'].inputs[1]) links.new(mxvolume.outputs[0], nodes['World Output'].inputs[1])
fognode = next((wn for wn in worldnodes if wn.type == 'VOLUME_ABSORPTION'), False) fognode = next((wn for wn in worldnodes if wn.type == 'VOLUME_ABSORPTION'), False)