Jump to content

sparse debug info


unicomp21
 Share

Recommended Posts

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

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...