Skip to content

Commit 48f0614

Browse files
committed
fixed blending issues when batching multiple rectangles
- each layer now has its own batch - #725
1 parent 26cbde5 commit 48f0614

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fyrox-impl/src/renderer/bundle.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,6 +1170,7 @@ impl RenderDataBundleStorageTrait for RenderDataBundleStorage {
11701170
let mut hasher = FxHasher::default();
11711171
hasher.write_u64(material.key());
11721172
layout.hash(&mut hasher);
1173+
hasher.write_u64(sort_index);
11731174
hasher.write_u32(render_path as u32);
11741175
let key = hasher.finish();
11751176

0 commit comments

Comments
 (0)