I’ve got a 3d scene that I’m trying to export using the Babylon.js exporter; however I’m running into this issue:
Exporter version: 2.93.4, Blender version: 2.93.3 ========= Conversion from Blender to Babylon.js ========= Scene settings used : Inline textures : false Material Type : PBR Positions Precision : 4 Normals Precision : 3 UVs Precision : 3 Vert Color Precision: 3 Mat Weight Precision: 2 Keep Z-up r-handed : no Texture directory : C:\Users\Mics\Desktop\house\ Python World class constructor completed WARNING: No active camera has been assigned, or is not in a currently enabled collection processing begun of mesh: building_03.001 processing begun of material: material-env-project ERROR: UN-EXCEPTED NODE TYPE(SHADERNODENORMALMAP). CANNOT CONTINUE. processing texture Nizar_Ztn_Palette_256_Gradient texture type: diffuseTexture, mapped using: "uv1" bake time: 0 min, 0.008 secs Custom split normals with tangents being used num positions : 18784 num normals : 18784 num tangents : 75136 num uvs : 37568 num uvs2 : 0 num colors : 0 num triangles : 7616 Output cancelled due to data error ========= end of processing ========= elapsed time: 0 min, 0.3642 secs
This is the Shader Editor view of my Blender model:
If I do as the above thread seems to suggest and change the “Normal” property value from “Normal/Map” to “Default” (which also removes the “Normal/Map” box from the Shader Editor chart above), the Babylon.js exporter works.
- what exactly is this “Normal” property? changing it from “Normal/Map” to “Default” didn’t seem to have any visual impact on the exported model from what I could tell.
- is it a bug in the Babylon.js exporter that it can’t handle the “Normal: Normal/Map” case? could this be fixed?
cc @JCPalmer hope you don’t mind me pinging you - from my understanding you’re the owner of the exporter, would love some advice here, thanks