Skip to content

Commit

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

* feat: add HDR loader
  • Loading branch information
zhuxudong committed Apr 21, 2022
1 parent d6abdfb commit d344f88
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 d344f88

Please sign in to comment.