Closed pezcode closed 3 years ago
Thanks -- this was missed during the initial implementation of the extension. I would recommend adding bool has_texcoord
-- this is more consistent with other areas of the spec where there's no default value for an optional parameter, such as accessor min/max or camera zfar or aspect ratio.
I've added the change here: a92412b6cd38aa19168691df8229b1fb6dc68d1f. Does that fix it for you @pezcode?
Yep, that fixes it.
Thanks for these quick fixes, really appreciated 👍
texCoord
inside KHR_texture_transform is not mandatory and replaces the normaltexCoord
only if present. However, I don't see a way to check if it exists or not.Problematic example scenario: the original
texCoord
is 3 andtexCoord
in KHR_texture_transform is unset, but it becomes 0 incgltf_texture_transform
. Setting the texture channel to 0 would be wrong.Not sure what would be a good way to expose this. Default value of -1? Extra bool?