Hersir Posted July 19, 2018 Share Posted July 19, 2018 Hi, had issue that I needed mesh A to be in front of particles, and particles in front of mesh B but all 3 should be behind rest of scene meshes. (Tried to make PG) To achieve it I used renderGroupId but as default one is 0, I set `RenderingManager.MIN_RENDERINGGROUPS = -2` and for mesh `A.renderingGroupId = -2` and for particles `particles.renderingGroupId = -1`. Works well in all browsers but in android webview particles are in front of some meshes (transparent pbr material) and some meshes disappeared that are in front of particles (near to them). I am doing something wrong, or maybe there is better way to achieve this ? Thank you Quote Link to comment Share on other sites More sharing options...
Guest Posted July 19, 2018 Share Posted July 19, 2018 Well if this works everywhere then the culprit is the android webview just in case, can you try with only positive number (So you will be forced to set all meshes to a renderinggroupID)? I have no idea why this will not work as it is PURE vanilla JS Quote Link to comment Share on other sites More sharing options...
Hersir Posted July 20, 2018 Author Share Posted July 20, 2018 @Deltakosh this issue is fixed with `engine.disableTextureBindingOptimization = true` as you suggested here Quote Link to comment Share on other sites More sharing options...
Guest Posted July 20, 2018 Share Posted July 20, 2018 Cool! 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.