dbawel Posted January 30, 2018 Share Posted January 30, 2018 Hey, I've never used any procedural textures. Where do I place the procedural texture and .fx files to reference? Thanks - I'm sure it's obvious. DB Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted January 30, 2018 Share Posted January 30, 2018 You can include it in your build when you compile a version of bjs off the site. https://www.babylonjs.com/versionbuilder/ dbawel 1 Quote Link to comment Share on other sites More sharing options...
dbawel Posted January 30, 2018 Author Share Posted January 30, 2018 That's excellent! I didn't even know it existed. But what if we're linked directly to the repo? I guess we need to reference in our json.package file? DB Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 30, 2018 Share Posted January 30, 2018 They are right here: https://github.com/BabylonJS/Babylon.js/blob/master/dist/proceduralTexturesLibrary/babylonjs.proceduralTextures.min.js Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 30, 2018 Share Posted January 30, 2018 Or they are also on NPM: https://www.npmjs.com/package/babylonjs-procedural-textures Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted January 31, 2018 Share Posted January 31, 2018 I get mine from CDN, so you only need to load what you use. I know I am slightly possessed about download size. Am now in a 12 step program. <script src="https://cdn.babylonjs.com/materialsLibrary/babylon.fireMaterial.min.js"></script> <script src="https://cdn.babylonjs.com/materialsLibrary/babylon.skyMaterial.min.js"></script> GameMonetize and Pryme8 1 1 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.