Sign in to follow this  
Hersir

Issues with render group id in android webview

Recommended Posts

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 :)

Share this post


Link to post
Share on other sites

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

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.