A Mysterious Case of Skinned Mesh Disappearances

The Issue

The Investigation

Left is not working on device — Right is working in emulator
Skinning removed manually from the glTF
Model rendered in Babylon.js sandbox with bone textures disabled
RenderDoc capture of Android not rendering the model
Rendering of the model with one mesh, no textures, and reduced bones

The Solution

  1. Support bone textures in Babylon Native. This will reduce the number of uniforms such that we won’t hit the limit.
  2. Support Vulkan on Android.
  1. Add code similar to the check in ANGLE to either Babylon Native when compiling shaders or to bgfx directly.
  2. File an issue on RenderDoc that it reports incorrect information when using too many uniforms.

--

--

--

Babylon.js: Powerful, Beautiful, Simple, Open — Web-Based 3D At Its Best. https://www.babylonjs.com/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Recursive Functions in JavaScript

React: In Short.

SFDX and some cool ways of automating your Developer workflows

JS IOC npm module with decorators (es6+)

The Galaxy Note is back, it’s just going to be called the “Galaxy S22 Ultra”

[Action required] Your RSS.app Trial has Expired — Thu Feb 10 2022

Difference between == and === in JS

An Introduction to Vue Teleport — A New Feature in Vue3

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Babylon.js

Babylon.js

Babylon.js: Powerful, Beautiful, Simple, Open — Web-Based 3D At Its Best. https://www.babylonjs.com/

More from Medium

Image Processing with WebGL

Customizing Materials: The Community Ninja Tale

So, you want to use multithreading in Unity WebGL

Homegrown rendering with Rust