-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
67816be
commit d1bcfc8
Showing
22 changed files
with
393 additions
and
845 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -335,14 +335,14 @@ export class BabylonScene { | |
enableSkybox(inputs: Inputs.BabylonScene.SkyboxDto): void { | ||
let texture: BABYLON.CubeTexture; | ||
if (inputs.skybox === Inputs.Base.skyboxEnum.default) { | ||
texture = new BABYLON.CubeTexture("https://cdn.jsdelivr.net/gh/bitbybit-dev/[email protected].0/textures/skybox/default_skybox/skybox", this.context.scene); | ||
texture = new BABYLON.CubeTexture("https://cdn.jsdelivr.net/gh/bitbybit-dev/[email protected].1/textures/skybox/default_skybox/skybox", this.context.scene); | ||
} else if (inputs.skybox === Inputs.Base.skyboxEnum.greyGradient) { | ||
texture = new BABYLON.CubeTexture("https://cdn.jsdelivr.net/gh/bitbybit-dev/[email protected].0/textures/skybox/grey_gradient/skybox", this.context.scene); | ||
texture = new BABYLON.CubeTexture("https://cdn.jsdelivr.net/gh/bitbybit-dev/[email protected].1/textures/skybox/grey_gradient/skybox", this.context.scene); | ||
} else if (inputs.skybox === Inputs.Base.skyboxEnum.clearSky) { | ||
texture = BABYLON.CubeTexture.CreateFromPrefilteredData("https://cdn.jsdelivr.net/gh/bitbybit-dev/[email protected].0/textures/skybox/clear_sky/environment.env", | ||
texture = BABYLON.CubeTexture.CreateFromPrefilteredData("https://cdn.jsdelivr.net/gh/bitbybit-dev/[email protected].1/textures/skybox/clear_sky/environment.env", | ||
this.context.scene, false, false); | ||
} else if (inputs.skybox === Inputs.Base.skyboxEnum.city) { | ||
texture = BABYLON.CubeTexture.CreateFromPrefilteredData("https://cdn.jsdelivr.net/gh/bitbybit-dev/[email protected].0/textures/skybox/city/environmentSpecular.env", | ||
texture = BABYLON.CubeTexture.CreateFromPrefilteredData("https://cdn.jsdelivr.net/gh/bitbybit-dev/[email protected].1/textures/skybox/city/environmentSpecular.env", | ||
this.context.scene, false, false); | ||
} | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.