charlesyuan Posted February 2, 2020 Share Posted February 2, 2020 could anybody help to have a look ? i add the js reference in my project , but still can't use the BABYLON.SkyMaterial, <script src="https://preview.babylonjs.com/materialsLibrary/babylon.skyMaterial.min.js" type="text/javascript"></script> but still got below issue: Uncaught TypeError: Cannot read property 'Effect' of undefined at Module.4 (babylon.skyMaterial.min.js:16) at n (babylon.skyMaterial.min.js:1) at Module.<anonymous> (babylon.skyMaterial.min.js:16) at Module.31 (babylon.skyMaterial.min.js:16) at n (babylon.skyMaterial.min.js:1) at 0 (babylon.skyMaterial.min.js:1) at babylon.skyMaterial.min.js:1 at babylon.skyMaterial.min.js:1 at babylon.skyMaterial.min.js:1 babylon.js:16 Babylon.js v4.1.0-beta.22 - WebGL2 saboteur.html:118 Uncaught TypeError: BABYLON.SkyMaterial is not a constructor at createScene (saboteur.html:118) at saboteur.html:859 Thanks a lot! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.