Skip to content

Commit

Permalink
Feat: support load hdr to cubemap in RGBM format and invert x axis (#733
Browse files Browse the repository at this point in the history
)

* feat: add HDR loader
  • Loading branch information
zhuxudong authored Apr 21, 2022
1 parent b9478e3 commit a0e66c5
Show file tree
Hide file tree
Showing 3 changed files with 404 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/src/asset/AssetType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,7 @@ export enum AssetType {
/** Sprite Atlas. */
SpriteAtlas = "sprite-atlas",
/** ambient light */
Env = "environment"
Env = "environment",
/** HDR to cube */
HDR = "HDR"
}
Loading

0 comments on commit a0e66c5

Please sign in to comment.