Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A Blender addon for easier/better compositing in 3D space.

This addon is currently beta quality. There may still be major bugs and rough edges, but in general it should *basically* work. Due to limitations in Blender's Python APIs there are also some rough edges that are unforunately impossible to fix at the moment.

This addon requires Blender 4.0 or later.
This addon requires Blender 4.0 through Blender 5.0.


# License
Expand Down
5 changes: 4 additions & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,10 @@ def create_compify_material(name, camera, footage):
mat = bpy.data.materials.new(name)
mat.use_nodes = True
mat.blend_method = 'HASHED'
mat.shadow_method = 'HASHED'
if hasattr(mat, "shadow_method"):
mat.shadow_method = 'HASHED'
elif hasattr(mat, "surface_render_method"):
mat.surface_render_method = 'DITHERED'
for node in mat.node_tree.nodes:
mat.node_tree.nodes.remove(node)

Expand Down