Skip to content

Commit

Permalink
blender: Fix render result alpha
Browse files Browse the repository at this point in the history
1.0 = fully opaque, not fully transparent.
  • Loading branch information
vkoskiv committed Dec 11, 2023
1 parent 5f7f414 commit 6f0ef5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/blender_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def display_bitmap(self, bm):
temp.append(floats[i + 0])
temp.append(floats[i + 1])
temp.append(floats[i + 2])
temp.append(0)
temp.append(1.0)
rect.append(temp)
result = self.begin_result(0, 0, bm.width, bm.height)
layer = result.layers[0].passes["Combined"]
Expand Down

0 comments on commit 6f0ef5b

Please sign in to comment.