enver90 Posted October 24, 2016 Share Posted October 24, 2016 So I've included babylon.js + gridMaterial.js but get the attached error when trying to create a new GridMaterial. My code is extremely simple, one scene, engine and one GridMaterial. A bit confused from the documentation (https://doc.babylonjs.com/extensions/Grid) all it says is to load the gridMaterial.js file, which I have done. - Update: The issue arises when I try to change opacity `gridMaterial.opacity = 0.5;` - I believe I am loading the files correctly as I do not get any other errors if I remove the opacity. Quote Link to comment Share on other sites More sharing options...
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.