TomaszFurca Posted November 10, 2018 Share Posted November 10, 2018 Hi today i saw in my project a lot of draw calls. I just start searching about it and found similar issue: https://github.com/BabylonJS/Babylon.js/issues/2624 with playground https://www.babylonjs-playground.com/#1KUJ0A#75. I think issue still happen in BJS, so please look into that. Tom Quote Link to comment Share on other sites More sharing options...
Guest Posted November 11, 2018 Share Posted November 11, 2018 Pinging @Sebavan But I must admit that I see no problem as the highlight layer needs to render all meshes in the scene to make sure we compute the correct occlusion so it needs to render all meshes to get the correct depth. You can forcefully deactivate some: https://www.babylonjs-playground.com/#1KUJ0A#146 (see line #39 and 45) Quote Link to comment Share on other sites More sharing options...
Sebavan Posted November 12, 2018 Share Posted November 12, 2018 Looks all normal to me to need to render all the element as occluder or highlighter but the in use shader is pretty sheep and it is to a smaller rtt so is is usually ok on small scenes. On bigger scenes it might be nice to exclude every part which is neither emitter nor occluder to boost perf. 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.