Skip to content

Commit

Permalink
Added functions for picking shiny or matte for orbital and atom
Browse files Browse the repository at this point in the history
  • Loading branch information
ToriGijzen committed May 13, 2024
1 parent 695932c commit 75aa4de
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/tcviewer/materials.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,21 @@
atom_matte.base_clearcoat = 0
atom_matte.thickness = 1
atom_matte.transmission = 0


def orbital_material(material):

if material == 'shiny':
return orbital_shiny

if material == 'matte':
return orbital_matte

def atom_material(material):

if material == 'shiny':
return atom_shiny

if material == 'matte':
return atom_matte

0 comments on commit 75aa4de

Please sign in to comment.