fix: babylonjs加载material的引入包错误
This commit is contained in:
parent
aa2a4c136c
commit
d2b82c290a
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
|
@ -153,11 +153,11 @@ export default {
|
|||
initialBeta: Math.PI / 3.3,
|
||||
initialRadius: 18,
|
||||
initialTarget: null,
|
||||
scene: null,
|
||||
myui: null,
|
||||
// scene: null,
|
||||
// myui: null,
|
||||
is_mainviewpoint: false,
|
||||
resizeTimeout: null,
|
||||
engine: null,
|
||||
// engine: null,
|
||||
loadedPercent: 0,
|
||||
sectionNames: {
|
||||
"干渣库_primitive0": "电石渣",
|
||||
|
@ -796,16 +796,16 @@ export default {
|
|||
skyboxMaterial.backFaceCulling = false;
|
||||
skybox.material = skyboxMaterial;
|
||||
/*
|
||||
* Keys:
|
||||
* - 1: Day
|
||||
* - 2: Evening
|
||||
* - 3: Increase Luminance
|
||||
* - 4: Decrease Luminance
|
||||
* - 5: Increase Turbidity
|
||||
* - 6: Decrease Turbidity
|
||||
* - 7: Move horizon to -50
|
||||
* - 8: Restore horizon to 0
|
||||
*/
|
||||
* Keys:
|
||||
* - 1: Day
|
||||
* - 2: Evening
|
||||
* - 3: Increase Luminance
|
||||
* - 4: Decrease Luminance
|
||||
* - 5: Increase Turbidity
|
||||
* - 6: Decrease Turbidity
|
||||
* - 7: Move horizon to -50
|
||||
* - 8: Restore horizon to 0
|
||||
*/
|
||||
var setSkyConfig = function (property, from, to) {
|
||||
var keys = [
|
||||
{ frame: 0, value: from },
|
||||
|
@ -1145,9 +1145,9 @@ export default {
|
|||
};
|
||||
|
||||
const scene = createScene(); //Call the createScene function
|
||||
// scene.debugLayer.show()
|
||||
// // scene.debugLayer.show()
|
||||
|
||||
// Register a render loop to repeatedly render the scene
|
||||
// // Register a render loop to repeatedly render the scene
|
||||
engine.runRenderLoop(function () {
|
||||
scene.render();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue