Jump to content

Issues with render group id in android webview


Hersir
 Share

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

Link to comment
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

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...