HoloLite Posted January 28, 2018 Share Posted January 28, 2018 I can't seem to find the classes for BrickProceduralTexture, WoorProceduralTexture etc in babylonjs's .d.ts and .js files. Have the api's changed ? or are they now contained in different package ? I checked the docs and this forum for clues, but not finding anything. Sorry, this is certainly a newbie question nevertheless :). Quote Link to comment Share on other sites More sharing options...
Dad72 Posted January 28, 2018 Share Posted January 28, 2018 You will find them here: https://github.com/BabylonJS/Babylon.js/tree/master/dist/proceduralTexturesLibrary Quote Link to comment Share on other sites More sharing options...
HoloLite Posted January 28, 2018 Author Share Posted January 28, 2018 @Dad72 Great, thanks for the answer! Is this hosted on npm server ? Quote Link to comment Share on other sites More sharing options...
brianzinn Posted January 28, 2018 Share Posted January 28, 2018 yes: https://www.npmjs.com/~babylonjs npm install --save babylonjs babylonjs-procedural-textures note that the import is just for side-effects. load babylon core first import 'babylonjs-procedural-textures'; HoloLite 1 Quote Link to comment Share on other sites More sharing options...
HoloLite Posted January 28, 2018 Author Share Posted January 28, 2018 Got it: https://www.npmjs.com/package/babylonjs-procedural-textures 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.