Add support for additional UV channels
Currently the number of UV sets available to the pbr shader is limited to 2 however it is possible that any glb may include uv sets above this number. In this particular case I'm using lightmaps baked from unreal engine which are then exported to glb format. This is causing very broken materials. I have manually modified a local copy of play canvas to add support which resolves the issue but of course thats not a long term solution.
Forum discussion for reference https://forum.playcanvas.com/t/is-it-possible-to-access-multiple-uv-maps-beyond-uv1/24166/4
related to https://github.com/playcanvas/engine/issues/3485
Bump! I'm currently updating to the latest version (engine only) meaning i have to add this hack in again. So its still important. Keep up the good work everyone!