ryvo Posted December 29, 2015 Share Posted December 29, 2015 The scene has one light and two box meshes. The front one throws shadow on the rear one. OK so far.But if I hide both meshes (isVisible=false) and create mesh instances for each them then these instances are visible but do not thow shadow.Even more, if I leave original front meshe visible it doesn't throw shadow until it's instances is visible. See http://babylonjs-playground.com/#1HRVL5#4 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 29, 2015 Share Posted December 29, 2015 Sounds like a bug! I'll work on it next week after my holidays Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 29, 2015 Share Posted December 29, 2015 Bug fixed https://github.com/BabylonJS/Babylon.js/commit/827880f2700a665aeddecfbad37ad4e1b512fe6f Quote Link to comment Share on other sites More sharing options...
jerome Posted December 30, 2015 Share Posted December 30, 2015 Who can resist to fix a just discovered bug, even during holidays ..? My solution : don't have an access to your repository ! Quote Link to comment Share on other sites More sharing options...
ryvo Posted December 30, 2015 Author Share Posted December 30, 2015 It works on boxes now, thanks! Alas I found another bug in the latest master. I started getting error "Uncaught TypeError: Cannot read property 'length' of undefined" at line 14982 of babylon.max.js in my project. I don't know how to reproduce it on the playground as I'm using own meshes with textures in the project so I'm attaching the project. This error doesn't occur in babylon.2.2.js.dungeon_project.zip Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 30, 2015 Share Posted December 30, 2015 unfortunately I need a playground to fix it. Or at least a web site where I can see it Quote Link to comment Share on other sites More sharing options...
ryvo Posted December 31, 2015 Author Share Posted December 31, 2015 It can be seen at http://babylon.php5.cz/index.html Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 4, 2016 Share Posted January 4, 2016 Should be fixed with next commit ryvo 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.