Skip to content

Commit

Permalink
fix: Auto sort transparent renderers. (Orillusion#318)
Browse files Browse the repository at this point in the history
Auto sort transparent renderers after renderOrder changed.
  • Loading branch information
hellmor authored Nov 14, 2023
1 parent e09b243 commit 5becdc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gfx/renderJob/collect/EntityCollect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ export class EntityCollect {


public getRenderNodes(scene: Scene3D, camera: Camera3D): CollectInfo {
this.autoSortRenderNodes(scene);
this._collectInfo.clean();
this._collectInfo.sky = this.sky;

Expand Down

0 comments on commit 5becdc4

Please sign in to comment.