Babylon.js: New glTF clearcoat sample model crashes Sandbox

Created on 31 Jan 2020  路  5Comments  路  Source: BabylonJS/Babylon.js

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

bug rendering engine

Most helpful comment

Yes I am in less than 1 hour, was scared to have lied ;-)

All 5 comments

@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 ;-)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sebavan picture sebavan  路  49Comments

deltakosh picture deltakosh  路  91Comments

thomlucc picture thomlucc  路  61Comments

individ2016 picture individ2016  路  39Comments

yvele picture yvele  路  18Comments