eboo Posted May 28, 2016 Share Posted May 28, 2016 http://www.babylonjs-playground.com/#TRNYD#14 i have a nice box with a specific shader. but i can't create instance (un cote last lines). is it a bug? Quote Link to comment Share on other sites More sharing options...
eboo Posted May 29, 2016 Author Share Posted May 29, 2016 clone is ok. so i will use clone Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 29, 2016 Share Posted May 29, 2016 You have to explicitly support instancing in your shaders like here: https://github.com/BabylonJS/Babylon.js/blob/master/src/Shaders/default.vertex.fx#L98 So clone is a better option if you don't want to go that way dbawel 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.