Full BSDF

This commit is contained in:
2026-08-07 02:04:01 -07:00
parent 7aeebf2008
commit fe017dd874
55 changed files with 2306 additions and 1215 deletions

View File

@ -2514,6 +2514,9 @@ class LeenkxExporter:
# Ensure the same order for merging materials
self.material_array.sort(key=lambda x: x.name)
from lnx.material import mat_state
mat_state.next_ext_mat_id = 3
if wrd.lnx_batch_materials:
mat_users = self.material_to_object_dict
mat_lnxusers = self.material_to_lnx_object_dict
@ -2526,9 +2529,6 @@ class LeenkxExporter:
decals_used = False
sss_used = False
from lnx.material import mat_state
mat_state.next_ext_mat_id = 3
for material in self.material_array:
# If the material is unlinked, material becomes None
if material is None: