I have a gltf model which was exported from Blender 2.8.In Blender the normalsmoothing is done by an angle, wich works perfect, but when i load it into my babylon scene the whole mesh is totaly smoothed.
I tried to play arround with the export settings but everything is still 100% smooth. After that i used the ‘Add costum split normal data’ function in blender wich works, but only in the babylon sandbox.When i try it in my project i get an error in the browser:
u._preActivateForIntermediateRendering is not a function
at t.render (babylon.js:16)
at t.render (babylon.js:16)
at app.js:61 <- scene.render() is called there
at t._renderLoop (babylon.js:16)
So how cant a bring my mesh smoothing from blender into babylon via gltf?
(Sorry, i cant post the mesh becaus of nda)
thats the problem here, whith other meshes it works as it should. i can set soft an hard edges and they look the same as in blender.
i even tried to export it as an obj file an reimported it into blender… same error.
its frustrating that it just works fine in the sandbox but throws an error in my local projekt.