engine icon indicating copy to clipboard operation
engine copied to clipboard

Add support for additional UV channels

Open Adriaaaaan opened this issue 3 years ago • 2 comments

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

Adriaaaaan avatar Feb 02 '22 16:02 Adriaaaaan

related to https://github.com/playcanvas/engine/issues/3485

mvaligursky avatar Feb 07 '22 09:02 mvaligursky

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!

MAG-AdrianMeredith avatar Jul 22 '22 13:07 MAG-AdrianMeredith