You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to update model from gltf v1.0 to gltf v2.0.
The following may occur in a gltf file: "techniques":{ "a":{ "uniforms":{ "u_tex":"tex", "u_tex2":"bakingTex" } }, "b":{ "uniforms":{ "u_tex":"bakingTex" } } }
But in the function moveTechniquesToExtension(gltf) of moveTechniquesToExtension.js,
the mappedUniforms variable is finally recorded as bakingTex -> u_tex and bakingTex -> u_tex2 information is missing.
This leads to errors in later use of uniform u_tex2.
The text was updated successfully, but these errors were encountered:
@liukangkanglkk99 Thanks for all the details, it should be quick for us to track this down. If you are able to share the glTF that would be helpful too.
I am trying to update model from gltf v1.0 to gltf v2.0.
The following may occur in a gltf file:
"techniques":{ "a":{ "uniforms":{ "u_tex":"tex", "u_tex2":"bakingTex" } }, "b":{ "uniforms":{ "u_tex":"bakingTex" } } }
But in the
function moveTechniquesToExtension(gltf)
of moveTechniquesToExtension.js,the mappedUniforms variable is finally recorded as bakingTex -> u_tex and bakingTex -> u_tex2 information is missing.
This leads to errors in later use of uniform u_tex2.
The text was updated successfully, but these errors were encountered: