gltf-rs / gltf

A crate for loading glTF 2.0
Apache License 2.0
534 stars 124 forks source link

`KHR_texture_transform` for NormalTexture/OcclusionTexture #394

Open apitenko opened 1 year ago

apitenko commented 1 year ago

This fixes the absence of .texture_transform() field for NormalTexture and OcclusionTexture structs with KHR_texture_transform enabled. This is a dumb copypasta, I might still need to write some tests and move TextureTransform to a separate file.

LPGhatguy commented 1 week ago

I ran into this recently while adding support for KHR_texture_transform to our game engine.

Is there any way I can help to get this fix merged?