RuntimeError: Fragment shader failed to compile. Compile log: ERROR: 0:62: ‘undefined’ : undeclared identifier
ERROR: 0:62: ‘texture2D’ : no matching overloaded function found
ERROR: 0:62: ‘SRGBtoLINEAR4’ : no matching overloaded function found
ERROR: 0:62: ‘=’ : dimension mismatch
ERROR: 0:62: ‘=’ : cannot convert from ‘const mediump float’ to ‘highp 4-component vector of float’
why i,m getting this error while loading gltf on the map.
If the model itself is valid, it might be a bug in Cesium. I would try it with the latest version of CesiumJS, and if that doesn’t work, please either share your model here or open a GitHub issue.
I got some error messages in the validator I converted some obj sample to gltf .i’m trying to load this obj file by converting it to gltf , but i’m getting these errors dont know why, do you have any idea?
i used fme translator to convert.but it didnt work.Thank for the converter can i use this converter in my web application.Does it work on the fly??Can you share any code samples how you have done the conversions.
Otherwise, it should theoretically be possible to bundle it for use in a browser with Browserify (http://browserify.org/) but I haven’t tested this myself.
It might be easier to just convert your models ahead of time. What kind of application are you building?