• Content Count

  • Joined

  • Last visited

  • Days Won


Sebavan last won the day on August 22

Sebavan had the most liked content!


About Sebavan

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Sebavan

    Hightlight layer produce a lot of draw calls

    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.
  2. Sebavan

    How to hide a material/submesh completly

    It is actually a feature ๐Ÿ™‚ This is meant to simulate the reflection of the light on a windshield for instance or the tv by night on a window. To disable it you can set useSpecularOverAlpha to false as well as useRadianceOverAlpha to false. Else as you noticed, you could drop the environment intensity with the alpha if you need to fade smoothly.
  3. Sebavan

    VirtualJoystick on mobile devices

    Actually, it might still be related to the same kind of issue, you would need to ensure your element are in front of the virtual joystick probably playing with zindex to not let the joystick capture the click before you elements.
  4. Sebavan

    VirtualJoystick on mobile devices

    You might try the attachControl(element, true) in order to not preventingDefault ? My bad, thought the issue was with camera ๐Ÿ™‚ silly me.
  5. CreateInstance does not support hierarchy, only the current mesh as explained in more detailed here: You might need to follow the same solution by creating instances for the entire tree or the art you d like (probably the mesh containing render data) and reparent them.
  6. Sebavan

    gltf and oimo physics, strange movement

    ping @RaananW ๐Ÿ™‚
  7. Sebavan

    Detect if mesh is behind a 3d model.

    Yup this would be linked to the same issue and the bones animation happening on the GPU.
  8. Sebavan

    import from string data

    You should encode your texture in base64 in this mode if you are willing to embed them. Else they could be absolute path to url instead of data: in order to make it work. Hope that helps
  9. Yes, you would need to add : <script src=""></script> You could also add pep.js to deal with inputs ๐Ÿ™‚
  10. Sebavan

    Can't import babylonjs-gui?

    Adding @RaananW who built the modules for babylon and gui.
  11. 1. How reusability works in your description? I thought reusing means you create and recycle 1 or maybe 5 meshes. But in this case, we create them all upfront, how's that gonna benefit perf? Imagine you know that maximum you have 10 balls visible (based on max distance visible, speed and emit rate), you create 10 balls all invisible and then you pick the 10 first from the pool. As soon as one of the 10 dies you can use it for 11 and so on. 2. If there aren't max number for meshes(they spawn infinitely), but I'll disable all those who get closer enough or hit the camera. How to code in this case? Basically the disabled ones become available to be reused.
  12. Sebavan

    Offset for individual particle

    Hello, This would require to add a custom attribute which is not supported by the particles custom shaders. As @Deltakosh told me you might be able to use the particles animation sheets instead ? I bet he might come in as soon as he ll be available to add more precision to the thread ๐Ÿ™‚
  13. Sebavan

    PC Port

    Ping @Luaacro as he did an integration for the editor ๐Ÿ™‚ you can see the sources here: if you want to see how he managed to do the setup.