Skip to content

Commit

Permalink
fix tungsten2luisa: thinsheet material (use glass temporarily)
Browse files Browse the repository at this point in the history
  • Loading branch information
OldNew777 committed Nov 23, 2023
1 parent 2e9a198 commit 0d08a2a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/tungsten2luisa.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,11 @@ def convert_material(out_file, material: dict, alpha=""):
convert_material(out_file, base_material, aa)
elif impl == "null":
convert_null_material(out_file, material)
elif impl == "thinsheet":
# TODO: Implement thinsheet, here we just use glass
convert_glass_material(out_file, material)
else:
print(material)
print(f'Unsupported material {material}')
print(f'''
Surface mat_{material["name"]} : Matte {{
Kd : Constant {{
Expand Down

0 comments on commit 0d08a2a

Please sign in to comment.