Skip to content

Commit

Permalink
Change shadow mode
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyman192 committed Dec 17, 2024
1 parent dbe66a5 commit 67bbdc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NMS/material_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def create_material_node(mat_path: str, local_root_directory: str):

# Add some material settings:
if mat_data.CastShadow:
mat.shadow_method = 'OPAQUE'
mat.use_transparent_shadow = False

nodes = mat.node_tree.nodes
links = mat.node_tree.links
Expand Down

0 comments on commit 67bbdc5

Please sign in to comment.