Skip to content

Commit

Permalink
fix: Auto sort transparent renderers. (Orillusion#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
lslzl3000 committed Nov 14, 2023
1 parent 04b1ca7 commit 6f3bbe7
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 6f3bbe7

Please sign in to comment.