I'm developing a new glTF test model for the draft KHR_materials_clearcoat extension, in https://github.com/KhronosGroup/glTF-Sample-Models/pull/251.
When I drop the GLB on https://sandbox.babylonjs.com/, I get an unhandled exception in the console:
babylon.js:16 BJS - [10:16:38]: Error: FRAGMENT SHADER ERROR: 0:632: 'TBN' : undeclared identifier
ERROR: 0:632: 'perturbNormal' : no matching overloaded function found
ERROR: 0:632: '=' : dimension mismatch
ERROR: 0:632: 'assign' : cannot convert from 'const mediump float' to 'highp 3-component vector of float'
/cc @bghgary @sebavan
@emackey could you share the gltf or glb ???
This looks like a bug I would like to address ASAP.
Here's a direct link: ClearCoatTest.glb.
The linked PR also has the separated glTF version.
Perfect fix will be in in less than 1 hour ;-)
Actually might be a bit longer, just figured I did not manage clear coat bump without bump at all. I am on it thanks a lot for the repro :-)
Yes I am in less than 1 hour, was scared to have lied ;-)
Most helpful comment
Yes I am in less than 1 hour, was scared to have lied ;-)