Problem with Morpher & GlowLayer on iOS

I was starting to get insane to find this one.

There is a correlation between an animated morpher and the glowlayer.
The first animated morpher won’t work properly, unless I disable the glowlayer.

Here is the PG with GlowLayer
Without GlowLayer

I was looking for anything in my morphers code. Didn’t think it was a kind of old bug coming back.
Have fun with it :slight_smile:

It might just come down to iOS being stingy with uniforms, and you’re just on the bubble.

For problems, would try with Chrome. Place chrome://inspect in another tab, to view the browser console.

Yep, just tried it. Too many uniforms

I will take a look ASAP

This is because the effect layer does not support skin animation through textures and makes the entire mesh fallbacks to CPU as we were seeing before.

We would need to add support for it in the effect layer, I ll check with @Deltakosh when we could do it :slight_smile:

1 Like

This should fix it BoneTexture Support in EffectLayer by sebavan · Pull Request #6565 · BabylonJS/Babylon.js · GitHub


Just tested it and it works :slight_smile:

Thanks !