joeBImagine Posted December 20, 2017 Share Posted December 20, 2017 I am under the suspicion that there is something I am missing in the Sky material. I am able to use the sky material in the playground as depicted in this link: https://www.babylonjs-playground.com/#ZU3JQZ#5 I also followed this doc link to the T: https://doc.babylonjs.com/extensions/sky However when I download the code, and run it on a local server, it is nothing but a blank screen. Any thoughts? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 21, 2017 Share Posted December 21, 2017 Did you think about adding a reference to https://preview.babylonjs.com/materialsLibrary/babylon.skyMaterial.min.js ? joeBImagine 1 Quote Link to comment Share on other sites More sharing options...
joeBImagine Posted December 21, 2017 Author Share Posted December 21, 2017 @Deltakosh wow so disappointed in myself right now, I did not . I took the doc as gospel and didn't think to add that. How do you all make it look so easy?! and thank you! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 21, 2017 Share Posted December 21, 2017 No worry It happens all the time Quote Link to comment Share on other sites More sharing options...
charlesyuan Posted February 1, 2020 Share Posted February 1, 2020 could anybody help to have a look ? i add the js reference as : <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.