unicomp21 Posted October 10, 2016 Share Posted October 10, 2016 Is there a switch or something where I can get more debug info? var material = new BABYLON.StandardMaterial("material1", scene); material.useParallax = true; material.useParallaxOcclusion = true; material.parallaxScaleBias = 0.1; material.specularPower = 1000.0; material.specularColor = new BABYLON.Color3(0.5, 0.5, 0.5); BJS - [04:50:21]: Babylon.js engine (v2.4.0) launched BJS - [04:50:21]: Unable to compile effect with current defines. Trying next fallback. BJS - [04:50:21]: Vertex shader:default BJS - [04:50:21]: Fragment shader:default BJS - [04:50:21]: Unable to compile effect with current defines. Trying next fallback. BJS - [04:50:21]: Vertex shader:default BJS - [04:50:21]: Fragment shader:default Quote Link to comment Share on other sites More sharing options...
JohnK Posted October 10, 2016 Share Posted October 10, 2016 Is this info coming from the debug layer already or just the console? Another good way to find bugs and get help is to put your code (or a simplified version of it) into a PG and ask. It is probable that the error is not in the material but elsewhere. Another way is to use an example PG that works and modify a bit at a time in line with your code to see where and if it breaks down. Good hunting. GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
unicomp21 Posted October 11, 2016 Author Share Posted October 11, 2016 Thanks for the tip! 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.