max123 Posted October 22, 2016 Share Posted October 22, 2016 Hi, I've got a scene with loads of shipping containers which I need to look nice... Well, you know how it goes Which would be more performant: adding poly detail to the model (it will be instanced), or use bump/normal mapping on simple boxes? Quote Link to comment Share on other sites More sharing options...
aWeirdo Posted October 22, 2016 Share Posted October 22, 2016 @max123 My first guess would be low res bump/normal textures on simple boxes with flat sides. But to really be sure you should do a small test in the PG, You could make one of each and then instance them one by one, 25.000 times or something like that and see which type have the best performance by viewing the debug layer. I would also suggest looking into the Solid particle system instead of instancing. max123 1 Quote Link to comment Share on other sites More sharing options...
max123 Posted October 22, 2016 Author Share Posted October 22, 2016 Thanks @aWeirdo. I was not aware particles could be used for that purpose! Will check it out. Quote Link to comment Share on other sites More sharing options...
aWeirdo Posted October 22, 2016 Share Posted October 22, 2016 @max123 the SPS is a powerful tool to have Check out this PG with 80.000 "buildings" which are basicly boxes like your shipping containers;http://www.babylonjs-playground.com/#2FPT1A#36 You can read about the SPS here;https://doc.babylonjs.com/overviews/Solid_Particle_System 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.